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

大约有 48 项符合查询结果, 库内数据总量为 30,583 项。 (搜索耗时: 0.0033 秒)

21. tiledMap场景切换问题 [ 54%]

...*****745:你的代码不给我讲我很难找到你说的这段,stage 是单例,你销毁地图,不影响stage的监听,off可以关闭事件监听, 你想输出几就可以做,我猜测你想要的效果是 第一个场景点击输出1 换场景输出2.这个需要移除之前的监听...

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

22. spine动画放大后,遮罩显示不正常 [ 54%]

...default class GameUI extends Laya.Scene { constructor() { super(); //设置单例的引用方式,方便其他类引用 GameUI.instance = this; //关闭多点触控,否则就无敌了 Laya.MouseManager.multiTouchEnabled = false; //加载场景文件 this.loadScene("test/TestScene.scene"); }  onE...

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

23. laya.renders.Render_API3.0 [ 52%]

...enders/Render" Render Class Render Render 是渲染管理类。它是一个单例,可以使用 Laya.render 访问。 Hierarchy Render Index Constructors constructor Properties _Render _customRequestAnimationFrame _loopFunction is3DMode Accessors canvas context customRenderEngine Methods initRender...

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

24. onOpen方法是位于哪个类下面? [ 52%]

...ative ios上js访问不到JSBridge类中的方法,请求官方帮助, as 单例类的方法 赋值问题 JS如何调用经过转换的FLASH游戏里的方法? websocket 中 protobuf 数据的发送与接收的具体方法是怎样的? Tween的to方法完成缓动后的回调怎么写,Tween.t...

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

25. 使用3DUI · LayaAir3.0文档 · LAYABOX [ 46%]

...ty } = Laya; @regClass() export class Main extends Laya.Script { /** 设置单例 */ static instance: Main; constructor() { super(); Main.instance = this; } @property({ type: Laya.Sprite3D }) private target: Laya.Sprite3D; public animator: Laya.Animator; onAwake(): void { //获得状态机 this.anim...

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

26. laya.d3.component.Animator_API3.0 [ 37%]

...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 cullingMode cullingMode: number = Animator.CULLINGMODE_CULLCOMPLETELY Defined in laya/d3/component/Animator.ts:95 裁剪模式 owner owner: Node Inherited from C...

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

27. laya.d3.core.light.Light_API3.0 [ 37%]

...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Componen...

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

28. laya.d3.component.animator.Animator_API3.0 [ 36%]

...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 cullingMode cullingMode: number = Animator.CULLINGMODE_CULLCOMPLETELY Defined in laya/d3/component/Animator/Animator.ts:78 裁剪模式 owner owner: Node Inherit...

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

29. laya.d3.core.particleshuriken.ShurikenParticleRenderer_API3.0 [ 36%]

...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean I...

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

30. laya.d3.core.light.PointLightCom_API3.0 [ 35%]

...from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined ...

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