• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 348 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0123 秒)

321. 缓动动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 38%]

...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

322. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 38%]

...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

323. laya.map.MapLayer_API3.0 [ 37%]

... 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

324. 引擎插件使用说明(TypeScript-小游戏适配文档-微信小游戏) [ 37%]

...库属于引擎插件库。不在插件库里的,引擎也会自动处理引用关系。 #### 5.2、开放域中可以使用引擎插件吗? 开放域中目前还不可以使用引擎插件。未来也许可以,微信小游戏支持团队的相关工作人员,已经在调测相关功能了...

来源: Laya2.0_文档 发布时间: 20210715

325. 组件脚本的内置方法 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...台后,可在此方法中进行一些初始化的操作,如获取组件引用、设置初始状态等。onDestroy方法在游戏对象被销毁时调用,可在此方法中释放游戏对象所占用的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合理利用这...

来源: Laya3.0_文档 发布时间: 20251010

326. laya.display.Sprite_API3.0 [ 35%]

...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

327. laya.map.GridSprite_API3.0 [ 34%]

... 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

328. laya.ani.swf.MovieClip_API3.0 [ 34%]

... 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

329. laya.display.Input_API3.0 [ 33%]

...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

330. laya.html.dom.HTMLIframeElement_API3.0 [ 31%]

...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