大约有 1,569 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0051 秒)
Laya_社区(1377) Laya3.0_api(67) Laya2.0_文档(66) Laya3.0_文档(32) Laya2.0_api(15) laya_api(8) Laya_示例(2) Laya2.0_示例(2)
...herited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行update之前执行,只会执行一次 Returns void Optional onUpdate onUpdate(): void Inherited from Component.onUpdate Defined in laya/components/Component.ts:292 每帧更新时执行,尽量不要在这...
来源: Laya3.0_api 发布时间: 20231115
...herited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行update之前执行,只会执行一次 Returns void Optional onUpdate onUpdate(): void Inherited from Component.onUpdate Defined in laya/components/Component.ts:292 每帧更新时执行,尽量不要在这...
来源: Laya3.0_api 发布时间: 20231102
....window.URL.createObjectURL(blob);//创建一个url对象; //我们先用第一种方式显示图片到舞台 var sp:Laya.Sprite = new Laya.Sprite(); sp.loadImage(url); Laya.stage.addChild(sp);//添加到舞台 } private errorHandler(e:Object):void{ } } new GameMain(); ``` 第二种我们可以绘...
来源: Laya2.0_文档 发布时间: 20210714
...indow.URL.createObjectURL(blob);//创建一个url对象; ////我们先用第一种方式显示图片到舞台; var sp:Sprite = new Sprite(); sp.loadImage(url); Laya.stage.addChild(sp);//添加到舞台 } private function errorHandler(e:Object):void { } } } ``` 第二种我们可以绘制一个...
来源: Laya2.0_文档 发布时间: 20210714
...--Lv.4 添加玩家 更新得有点慢~~ 不要介意~~ 前面几节课 第一节 第二节 第三节 //======================= 漂亮的分割线 ======================= 本节主要讲一下 玩家·~~~ 这节要说的要点如下: 1、打包动画图集 2、创建动画模板 ...
来源: Laya_社区 发布时间: 20160801
...,位置也可以随意放,只要路径是正确的就可以。 发现 第一次打开chrome有黄色背景色的“--disable-web-security”相关的提示,说明浏览器设置跨域成功。 再次用执行上面的命令行时,不会再有相关提示了,但是还是能跨域的! 2018...
来源: Laya_社区 发布时间: 20151028
...herited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行update之前执行,只会执行一次 Returns void Optional onUpdate onUpdate(): void Inherited from Component.onUpdate Defined in laya/components/Component.ts:292 每帧更新时执行,尽量不要在这...
来源: Laya3.0_api 发布时间: 20231115
...nable 组件被启用后执行,比如节点被添加到舞台后 onStart 第一次执行onUpdate之前执行,只会执行一次 onUpdate 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 onLateUpdate 每帧更新时执行,在onUpdate之后执行,...
来源: Laya3.0_文档 发布时间: 20251010
...herited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行update之前执行,只会执行一次 Returns void Optional onUpdate onUpdate(): void Inherited from Component.onUpdate Defined in laya/components/Component.ts:292 每帧更新时执行,尽量不要在这...
来源: Laya3.0_api 发布时间: 20231102
...了。 #### 删除 当删除目录或资源的时候,有两种方式。第一种是IDE里选中要删除的资源或目录,右键菜单里点击删除选项或者直接按Delete键删除。第二种是打开所在目录,在系统目录内,直接删除。两者删除都会自动刷新。 *Tip...
来源: Laya2.0_文档 发布时间: 20210714