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

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

121. laya.display.AnimationBase [ 48%]

...模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像,能...

来源: Laya2.0_api 发布时间: 20190513

122. laya.components.Component_API3.0 [ 47%]

...,如果实现了这个函数,则组件会被重置并且自动回收到对象,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Defined in laya/components/Component.ts:287 第一次执行update之前执行,只会执行一次 Ret...

来源: Laya3.0_api 发布时间: 20231115

123. laya.d3.physics.CharacterController [ 46%]

...,如果实现了这个函数,则组件会被重置并且自动回收到对象,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用时重写覆盖即可 ComponentProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods Me...

来源: Laya2.0_api 发布时间: 20190513

124. laya.effect.EffectBase_API3.0 [ 46%]

.../effect/EffectBase" EffectBase Class EffectBase 效果插件基类,基于对象管理 Hierarchy Component EffectBase FadeIn FadeOut Index Constructors constructor Properties _extra _singleton autoDestroyAtComplete delay duration ease eventName owner repeat runInEditor scriptPath target Accessor...

来源: Laya3.0_api 发布时间: 20231115

125. LayaBox进阶之UI管理类 [ 44%]

...无法暂停继续播放,只能从头开始,pc端正常,代码如下 对象管理不同资源路径的龙骨动画时,它的sign值,必须是不同的吗? 资源管理器中的图片个别显示不打包,是不是不能打包到图集中了?这个是什么原因造成的呢?如何避...

来源: Laya_社区 发布时间: 20190222

126. 【简单跑酷--JS版】---Lv.3 添加地板 [ 43%]

...功能? 1、自身从右到左运动 超出左边边界 就移除存入对象 2、地板上可以添加东西  (function(){ /** * 地板类 */ function Floor(){ Floor.__super.call(this); } //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _prot...

来源: Laya_社区 发布时间: 20160728

127. 分享:图集资源做位图文本的工具类(知道fontclip组件的可以略过了,之前一直没注意到这个组件) [ 43%]

...Utils.removeChilds(this.chars, BPFont.fontPool); } /** * 获取一个字体对象 */ private getSprite(): Laya.Sprite { let sp = BPFont.fontPool.shift() || new Laya.Sprite(); return sp; } /** * 创建位图文本 * @param v */ private createFnt(v: string): void { this.clearFnt(); this.createChars(v)...

来源: Laya_社区 发布时间: 20180302

128. laya.d3.component.Animator [ 43%]

...,如果实现了这个函数,则组件会被重置并且自动回收到对象,方便下次复用 如果没有重置,则不进行回收复用 此方法为虚方法,使用时重写覆盖即可 Component  play(name:String = null, layerIndex:int = 0, normalizedTime:Number):void 播放动...

来源: Laya2.0_api 发布时间: 20190513

129. laya.components.CommonScript_API3.0 [ 42%]

...,如果实现了这个函数,则组件会被重置并且自动回收到对象,方便下次复用 如果没有重置,则不进行回收复用 Returns void onStart onStart(): void Overrides Component.onStart Defined in laya/components/CommonScript.ts:41 第一次执行update之前执行,...

来源: Laya3.0_api 发布时间: 20231102

130. laya.d3.core.MeshFilter_API3.0 [ 42%]

...,如果实现了这个函数,则组件会被重置并且自动回收到对象,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行update之...

来源: Laya3.0_api 发布时间: 20231115