大约有 190 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0060 秒)
...ader.IMAGE }, { url: "test/TestPage.json", type: Loader.JSON }, ], Handler.create(this, this.onLoaded)); 运行报错: [warn]Retry to load: comp/image.png [error]Failed to load: comp/image.png 修改导出的TestPage.json里面对应控件引用的skin值加上对应路径 "skin":"unpack...
来源: Laya_社区 发布时间: 20171230
...把 Laya.Tween.to(letterText, { y : 300 }, 1000, Laya.Ease.bounceIn, Laya.Handler.create(this,this.changeColor,[letterText]), i * 100); 2017-11-22 0 0 分享 微博 QZONE 微信 liner1457387450 赞同来自: 恩恩,你写的这句是基本的用法,我想用tween API里complete()立即完成...
来源: Laya_社区 发布时间: 20171122
...能生成 ResourceVersion.enable("version.json", Handler.create(this, this.onVersionLoaded), ResourceVersion.FILENAME_VERSION); ``` 2019-07-04 0 0 分享 微博 QZONE 微信 末节极地 赞同来自: 但是只有新版发布才有version.json,旧版发布是没有的 2019-...
来源: Laya_社区 发布时间: 20190701
... Returns Sprite3D 克隆实例。 Static load load(url: string, complete: Handler): void Inherited from PixelLineSprite3D.load Defined in laya/d3/core/Sprite3D.ts:77 加载网格模板。 Parameters url: string 模板地址。 complete: Handler 完成回掉。 Returns void Globals "laya/d3/core/refl...
来源: Laya3.0_api 发布时间: 20231102
...e { import laya.display.Stage; import laya.ui.TextInput; import laya.utils.Handler; public class TextInput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load...
来源: Laya3.0_api 发布时间: 20231115
... TextArea 实例。 package { import laya.ui.TextArea; import laya.utils.Handler; public class TextArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/inpu...
来源: Laya3.0_api 发布时间: 20231115
...o完成回调异常! Tween.to(this.floatTxt, {y:-30}, 600, Ease.expoOut, Handler.create(this,onFloatComplete)); protected function onFloatComplete(callBack:Function):void { this.removeSelf(); } 我用这个缓动来做飘字效果,完成回调的时候,把飘字对象在场景上移除,结...
来源: Laya_社区 发布时间: 20170426
...ers node: Node Returns boolean loadImage loadImage(url: string, complete?: Handler): Sprite Inherited from Text.loadImage Defined in laya/display/Sprite.ts:1578 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片...
来源: Laya3.0_api 发布时间: 20231115
...也不影响后续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); } onVersionLoaded() { //激活大小图映射,加载小图的时候,如果发现小图在大图合集里面,则优先加载大图合集...
来源: Laya_社区 发布时间: 20181027
...ers node: Node Returns boolean loadImage loadImage(url: string, complete?: Handler): Sprite Inherited from Text.loadImage Defined in laya/display/Sprite.ts:1578 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片...
来源: Laya3.0_api 发布时间: 20231115