大约有 288 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0036 秒)
...此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //创建一个颜色滤镜对象 let colorFilter: Laya.ColorFilter = new Laya.ColorFilter(); //给Image组件添加颜色滤镜 this.img.filters = [colorFilter]; //设置滤镜颜色 colorFilter.color(0.5, 0.5...
来源: Laya3.0_文档 发布时间: 20241014
...anguage=ch&category=3d&group=Script&name=ScriptDemo))。该示例中对 `onAwake`,`onStart`,`onUpdate`,`onDisable` 进行了接管。在材质加载完成之后,给cube添加了脚本。并且在4秒后执行的移除脚本操作。 ```typescript /** * 创建后只执行,只会执行一次...
来源: Laya2.0_文档 发布时间: 20210714
...s id joint ratio Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new GearJoint(): GearJoint Inherited from JointBase.constructor Overrides Component.constructor Defi...
来源: Laya3.0_api 发布时间: 20231115
...d joint maxForce Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new MouseJoint(): MouseJoint Inherited from JointBase.constructor Overrides Component.constructor De...
来源: Laya3.0_api 发布时间: 20231115
...deFlags id joint Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PulleyJoint(): PulleyJoint Inherited from JointBase.constructor Overrides Component.constructor ...
来源: Laya3.0_api 发布时间: 20231115
...deFlags id joint Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new WeldJoint(): WeldJoint Inherited from JointBase.constructor Overrides Component.constructor Defi...
来源: Laya3.0_api 发布时间: 20231115
...nsor restitution Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new ColliderBase(): ColliderBase Overrides Component.constructor Defined in laya/physics/ColliderBas...
来源: 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 CannonPhysicsComponent(collisionGroup: number, canCollideWith: number): CannonPhysicsComponent O...
来源: Laya3.0_api 发布时间: 20231102
...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
...?language=ch&category=3d&group=Script&name=ScriptDemo))。该示例中对onAwake,onStart,onUpdate,onDisable 进行了接管。在材质加载完成之后,给cube添加了脚本。并且在4秒后执行的移除脚本操作。 ```typescript /** * 创建后只执行,只会执行一次,此...
来源: Laya2.0_文档 发布时间: 20210715