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

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

81. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 69%]

...nent.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销...

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

82. mac的2.0.0 beta3版本场景添加脚本为组件报错 [ 69%]

...t extends Laya.Script { constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 */ onAwake(): void {  }  /** * 第一次执行update之前执行,只会执行一次 */ onStart(): void {   }  onUpdate(): void { }  onEn...

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

83. 脚本的事件(ActionScript-3D基础(AS3)-LayaAir3D的脚本使用) [ 68%]

...。在材质加载完成之后,给cube添加了脚本。并且在4秒后执行的移除脚本操作。 ```typescript /** * 创建后只执行,只会执行一次,此时所有节点和组件以及创建完毕 */ public override function onAwake():void {} /** * 脚本每次启动后执行,例如...

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

84. laya.display.Node_API3.0 [ 68%]

...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Defined in laya/displa...

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

85. laya.d3.core.Sprite3D_API3.0 [ 68%]

...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...

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

86. laya.d3.core.ui3d.UI3D_API3.0 [ 68%]

...nent.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销...

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

87. 请问js怎么触发按钮的onclick事件,按教程的写,触发不知道为什么。 [ 67%]

...port default class btn1 extends Laya.Script { constructor(){ alert("1"); //执行后这里触发了 super();} onEnable(){ alert("2"); //执行后这里触发了 } onclick(){ alert("3"); //执行后点击按钮这里没触发,不知道为什么 //Laya.Scene.open("_game.scene"); } } 2018-10-28 添...

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

88. laya.display.Node [ 67%]

...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node  frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...

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

89. laya.d3.physics.Rigidbody3D_API3.0 [ 66%]

...nent.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销...

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

90. Laya2.0正式版2D官方demo测试有问题 [ 66%]

...式版的2D官方demo中,在游戏控制脚本未被激活的情况下,执行了onEnable和onStart里面的内容,onUpdate是正常没执行的。换成2.0测试版的库后是正常运行的。怀疑是2.0正式版的库存在问题,希望官方查证。 2019-02-21 添加评论 免费帖 --...

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