大约有 168 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
...on 写了个简单的脚本 应该能让切图轻松一些把 mport os import math from PIL import Image # if png pngs=[] maxWith = 0 maxHeight = 0 for idx in range(1,4): fname = os.path.join( os.path.curdir, "btn_{0}.png".format(idx)) if os.path.exists( fname) : im=Image.open( fname) pngs.app...
来源: Laya_社区 发布时间: 20180721
...56447350用户 赞同来自: main代码 // Main.ts - 简化版异步加载 import { CameraController } from "./CameraController"; import { Joystick } from "./Joystick"; import { Player } from "./Player"; const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { ...
来源: Laya_社区 发布时间: 20251125
...5上就崩溃,请问怎么把之前的描边重新移 除呢? import { PathData } from "../data/PathData"; import InsManager from "../manager/InsManager"; import { BlurEffect, BlurMaterial } from "../shader/BlurShader/BlurEffect"; export class CommandBuffer_Outline {...
来源: Laya_社区 发布时间: 20210203
...,在class前使用关键字export default 在引用的地方使用 import XX from "XX"; 但是现在2.0中所有的脚本都要这样才能引用到吗? 2018-12-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiaolang 相关问...
来源: Laya_社区 发布时间: 20181226
...ata is not defined? laya2.0引入第三方库失败 laya2.0 ts脚本需要 import ** from ** 问题 laya2.0 runtime问题 Laya2.0导出语言包功能,导出的.lang内容为空 Laya2.0 的2d如何编写自定义shader 问题状态 最新活动: 2019-09-22 01:05 浏览: 770 关注: 1 人
来源: Laya_社区 发布时间: 20190922
...*****601 赞同来自: 加了这句就可以了,虽然麻烦了点 import { ui } from "./../ui/layaMaxUI"; 2018-10-02 0 2 分享 微博 QZONE 微信 yuqi 赞同来自: 同问啊,为什么 export module ui 2019-02-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20181002
...? 请问Laya如何判断目前处于什么平台 laya2.0 ts脚本需要 import ** from ** 问题 问题状态 最新活动: 2019-07-17 20:14 浏览: 757 关注: 1 人
来源: Laya_社区 发布时间: 20190717
...动场景为maskDemoUI  主类代码如下: ```java import GameConfig from "./GameConfig"; import { ui } from "./ui/maskDemoUI"; class Main { constructor() { //根据IDE设置初始化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(G...
来源: Laya2.0_文档 发布时间: 20210715
... 微博 QZONE 微信 lsx968542 赞同来自: 是不是没有导入文件 import { ui } from "./ui/layaMaxUI"; 2018-11-16 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 tea 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文...
来源: Laya_社区 发布时间: 20181115
...都不支持是缓存的时候有什么问题和难点吗? ts 不支持import LoginView from "../../LoginView" native android mp3不支持吗 问题状态 最新活动: 2018-04-04 19:03 浏览: 837 关注: 2 人 ccloving • 2018-04-04 19:33 当然了呀,我做的小案例都是 ts的 Apple • ...
来源: Laya_社区 发布时间: 20180404