大约有 348 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0123 秒)
...this,this.changeColor,[letterText]), i * 100); ``` 由于需要增加新的引用,这次贴出全部的示例代码。 TweenDemo.ts: ```typescript // 程序入口 class TweenDemo{ constructor() { //初始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //...
来源: Laya2.0_文档 发布时间: 20210715
...babel,我们查看 layaair2-cmd 的 package.json 文件,直接安装其引用的 babel 版本即可:npm install --save-dev @babel/core@7.0.0由于不明原因,发布时启用图片压缩功能时,压缩图片会报错Warning: Command failed: .../node_modules/zopflipng-bin/vendor/zopflipng ...
来源: Laya_社区 发布时间: 20201223
... 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为非空时此值才有效,staticCache...
来源: Laya3.0_api 发布时间: 20231115
...库属于引擎插件库。不在插件库里的,引擎也会自动处理引用关系。 #### 5.2、开放域中可以使用引擎插件吗? 开放域中目前还不可以使用引擎插件。未来也许可以,微信小游戏支持团队的相关工作人员,已经在调测相关功能了...
来源: Laya2.0_文档 发布时间: 20210715
...台后,可在此方法中进行一些初始化的操作,如获取组件引用、设置初始状态等。onDestroy方法在游戏对象被销毁时调用,可在此方法中释放游戏对象所占用的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合理利用这...
来源: Laya3.0_文档 发布时间: 20251010
...t stage(): Stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不...
来源: Laya3.0_api 发布时间: 20231115
... 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为非空时此值才有效,staticCache...
来源: Laya3.0_api 发布时间: 20231115
... 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为非空时此值才有效,staticCache...
来源: Laya3.0_api 发布时间: 20231115
...LTextAreaElement Defined in laya/display/Input.ts:233 获取对输入框的引用实例。 Returns HTMLInputElement | HTMLTextAreaElement numChildren get numChildren(): number Inherited from Node.numChildren Defined in laya/display/Node.ts:433 子对象数量。 Returns number objContainer get objCo...
来源: Laya3.0_api 发布时间: 20231115
...mationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此值才有效,st...
来源: Laya3.0_api 发布时间: 20231102