大约有 326 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0046 秒)
...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf rep...
来源: Laya3.0_api 发布时间: 20231115
...pulseForce, impulseForce); a.Normalize(); base.gameObject.GetComponent<Rigidbody2D>().AddForce(a * num, ForceMode2D.Impulse); } private void AddPlayerForce(Collision2D collision, float playerStrong, float impulseForce) { if (playerStrong == 0f || impu...
来源: Laya_社区 发布时间: 20191028
...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf rep...
来源: Laya3.0_api 发布时间: 20231115
...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLayers removeChild removeChildAt removeChildByName removeChildre...
来源: Laya3.0_api 发布时间: 20231115
...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf rep...
来源: Laya3.0_api 发布时间: 20231115
...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf rep...
来源: Laya3.0_api 发布时间: 20231115
...dRigidBodySphere(new Vector3(7, 3, 0),1); var boxARigid:Rigidbody3D = boxA.getComponent(Rigidbody3D); boxARigid.overrideGravity = true; boxARigid.isKinematic = true; var boxB:MeshSprite3D = this.addRigidBodyBox(new Vector3(10, 0, 0),1); (boxB.meshRenderer.material).albedoColor = new Vector4(1, 0, 0,...
来源: Laya2.0_文档 发布时间: 20210715
...Prafab加了.SphereCollider 和rigidbody,但是在laya里我只能获取到getComponent(Laya.Rigidbody3D);而getComponent(Laya.SphereColliderShape)却是空值。咋回事呢 156*****130 • 2020-12-15 16:42 我把2.7.1版本的替换进去还是黑屏 157*****593 • 2020-12-15 17:08 有demo吗,...
来源: Laya_社区 发布时间: 20201209
...dRigidBodySphere(new Vector3(7, 3, 0),1); var boxARigid:Rigidbody3D = boxA.getComponent(Rigidbody3D); boxARigid.overrideGravity = true; boxARigid.isKinematic = true; var boxB:MeshSprite3D = this.addRigidBodyBox(new Vector3(10, 0, 0),1); (boxB.meshRenderer.material).albedoColor = new Vector4(1, 0, 0,...
来源: Laya2.0_文档 发布时间: 20210714
...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf rep...
来源: Laya3.0_api 发布时间: 20231115