大约有 321 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
...led hideFlags id Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onCollisionEnter onCollisionExit onCollisionStay onDestroy onDisable onEnable onJointBreak onKeyDown onKeyPress onKeyUp onLateUpdate onMouseClick onMouseDoubleClick onMouseDown onMouseDrag onMouseDragEnd onMouseMove o...
来源: Laya3.0_api 发布时间: 20231115
...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
...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
...By CommonScript()CommonScript destroy():void 销毁组件 Component onAwake():void 创建后只执行一次 此方法为虚方法,使用时重写覆盖即可 CommonScript onDestroy():void 销毁时执行 此方法为虚方法,使用时重写覆盖即可 CommonScript onDisable():void...
来源: Laya2.0_api 发布时间: 20190513
...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
...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
...时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { // 平移cube this.cube.transform.translate(this.translate, false); } } 效果如图1-1所示,其中1是原位置,2是平移后的位置。 (图1-1) 2. 旋转变换 关于旋转,在Transform3D中提...
来源: Laya3.0_文档 发布时间: 20251010
....Script 后,即可使用引擎提供的一系列生命周期方法(如 onAwake、onEnable、onUpdate 等)和事件响应方法(如 onMouseDown、onMouseClick 等)。这些内置方法作为组件脚本的逻辑执行入口,对应于 ECS 架构中系统的逻辑处理部分。 全部内...
来源: Laya3.0_文档 发布时间: 20251010
...Speed upperAngle Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new RevoluteJoint(): RevoluteJoint Inherited from JointBase.constructor Overrides Component.construc...
来源: Laya3.0_api 发布时间: 20231115
... restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new CircleCollider(): CircleCollider Inherited from ColliderBase.constructor Overrides Component.con...
来源: Laya3.0_api 发布时间: 20231115