大约有 1,011 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0106 秒)
Laya_社区(615) Laya3.0_api(140) Laya2.0_文档(93) Laya2.0_api(74) laya_api(53) Laya3.0_文档(32) Laya2.0_示例(2) Laya_示例(2)
...目录名/原小图资源名.png) img.skin = "test/c1.png"; //添加到舞台上显示 Laya.stage.addChild(img); ``` 代码运行效果如图9所示:  (图9) 如图9所示,我们成功的从图集中取出小图资源并应用到项目中,而代码中的`sink`值`test/c...
来源: Laya2.0_文档 发布时间: 20210714
...目录名/原小图资源名.png) img.skin = "test/c1.png"; //添加到舞台上显示 Laya.stage.addChild(img); ``` 代码运行效果如图9所示:  (图9) 如图9所示,我们成功的从图集中取出小图资源并应用到项目中,而代码中的`sink`值`test/c...
来源: Laya2.0_文档 发布时间: 20210714
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage startIndex get startIndex(): number set startIndex(value: number): void Defined in laya/ui/List.ts:879 当前显示的单元格列表的开始索引。 Returns number Defined in laya/ui...
来源: Laya3.0_api 发布时间: 20231115
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115
...Value 来让外部控制 能量条的 进度 我们把能量条都添加到舞台上面吧~~ 打开runGame.js(function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; this.flyEnergy = null; this.speedEnergy = null; RunGame.__super.call(this); ...
来源: Laya_社区 发布时间: 20160803
... 本帧所有 3D 场景的提交渲染总耗时(ms)。它统计的是舞台渲染时对所有 Scene3D 的 renderSubmit() 调用耗时总和。 在项目中,这个指标最常用于回答两个问题: “卡顿是否主要来自 3D?”:把它与 T_AllRender2D、T_ScriptUpdateTime 对比...
来源: Laya3.0_文档 发布时间: 20260128
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
...间的间距(以像素为单位)。 List stage : Stage[read-only] 对舞台 stage 的引用。Sprite startIndex : int 当前显示的单元格列表的开始索引。 List staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会...
来源: laya_api 发布时间: 20170929