大约有 384 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0040 秒)
...Owner destroy getPhysicsOrientation getPhysicsPosition hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PhysicsComponent(collisionGroup: number, canCollideWith: number): PhysicsComponent Overrides Com...
来源: 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 ChainCollider(): ChainCollider Inherited from ColliderBase.constructor Overrides Component.const...
来源: Laya3.0_api 发布时间: 20231115
...改了重力的数值,球和地面都设置了弹力 TestScript2 onAwake this.scene3D = this.owner as Scene3D; this.basketballCourt = this.scene3D.getChildByName("BasketballCourt") as Sprite3D; var collision:PhysicsCollider = this.basketballCourt.getChildByName("BasketballCourt1").getComp...
来源: Laya_社区 发布时间: 20200515
...anguage=ch&category=3d&group=Script&name=ScriptDemo))。该示例中对 `onAwake`,`onStart`,`onUpdate`,`onDisable` 进行了接管。在材质加载完成之后,给cube添加了脚本。并且在4秒后执行的移除脚本操作。 ```typescript /** * 创建后只执行,只会执行一次...
来源: Laya2.0_文档 发布时间: 20210714
... _motionInVolume _reCaculateBoundBox _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onUpdate reBatch Constructors constructor new StaticBatchVolume(): StaticBatchVolume Overrides Volume.constructor Defined in laya/d3/component...
来源: Laya3.0_api 发布时间: 20231115
... getPhysicsSimulation getcurrentForce getcurrentTorque hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate setConnectRigidBody setConstraintEnabled setFrames setOverrideNumSolverIterations Constructors constructor new ConstraintComp...
来源: Laya3.0_api 发布时间: 20231115
...先登录 发起人 Ace1024 相关问题 Laya 2.7.0beta Scene与脚本的onAwake()与onEnable()调用时机存在问题 laya 2.0 bug onEnable 分离模式节点没有创建 Node.prototype._activeHierarchy存在的bug或者说是onEnable和onAwake的坑 2.0里面的组件(Laya.Script)的prop其中几...
来源: Laya_社区 发布时间: 20200827
...时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.opendata.pos(100,100); this.opendata.size(500,500); } } 2. 代码创建OpenDataContextView 有时,不想让OpenDataContextView一开始就在舞台上,这就要通过代码来创建了。在Scene2D的...
来源: Laya3.0_文档 发布时间: 20241014
...upperTranslation Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new WheelJoint(): WheelJoint Inherited from JointBase.constructor Overrides Component.constructor De...
来源: Laya3.0_api 发布时间: 20231115
...ultState getParamsvalue gotoAndStop gotoAndStopByFrame hasHideFlag onAdded onAwake onDisable onLateUpdate onPostRender onPreRender onReset onStart onUpdate play setParamsBool setParamsNumber setParamsTrigger stop Constructors constructor new Animator2D(): Animator2D Overrides Component.constructor D...
来源: Laya3.0_api 发布时间: 20231115