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

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

31. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 79%]

...ution simulation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CannonPhysicsComponent(collisionGroup: number, canCollideWith: number): CannonPhysicsComponent O...

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

32. laya.components.Widget_API3.0 [ 78%]

...d left right top Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate resetLayout Constructors constructor new Widget(): Widget Overrides Component.constructor Defined in laya/components/Widget.t...

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

33. laya.ui.Widget_API3.0 [ 78%]

...d left right top Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate resetLayout Constructors constructor new Widget(): Widget Inherited from Component.constructor Defined in laya/components/Com...

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

34. laya.d3.component.volume.Volume_API3.0 [ 78%]

...reCaculateBoundBox _removeRenderNode _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new Volume(): Volume Overrides Component.constructor Defined in laya/d3/component/Volume/Volume.ts:4...

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

35. laya.d3.physicscannon.CannonPhysicsTriggerComponent_API3.0 [ 77%]

...ution simulation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CannonPhysicsTriggerComponent(collisionGroup: number, canCollideWith: number): CannonPhysicsTrig...

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

36. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 77%]

...ution simulation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CannonPhysicsCollider(collisionGroup?: number, canCollideWith?: number): CannonPhysicsCollider O...

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

37. laya.physics.joint.MotorJoint_API3.0 [ 77%]

...xForce maxTorque Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new MotorJoint(): MotorJoint Inherited from JointBase.constructor Overrides Component.constructor De...

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

38. 组件属性的代码使用 · LayaAir3.0文档 · LAYABOX [ 77%]

...ds Laya.Script { @property({ type : Laya.Sprite}) public spr: Laya.Sprite; onAwake(): void { this.spr.size(512, 313); //设置Sprite大小 this.spr.loadImage("atlas/comp/image.png"); //添加纹理 } } 效果如图1-2所示: (图1-2) 1.2 3D节点的基础使用 首先,如动图1-3所示,...

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

39. laya.physics.joint.DistanceJoint_API3.0 [ 77%]

...Length minLength Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new DistanceJoint(): DistanceJoint Inherited from JointBase.constructor Overrides Component.construc...

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

40. 2.4 生命周期触发多次,连constructor都执行了两次 [ 77%]

2.4 生命周期触发多次,连constructor都执行了两次 onAwake():void { console.log("onAwake"); } onStart():void { console.log("onStart"); } onEnable():void { console.log("onEnable"); } onDisable():void { console.log("onDisable"); } 附件 : --> 2019-12-09 添加评论 免费帖 --> 分享...

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