大约有 344 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0033 秒)
...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...
来源: Laya3.0_api 发布时间: 20231115
...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...
来源: Laya3.0_api 发布时间: 20231115
...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onReset onReset(): void Inh...
来源: Laya3.0_api 发布时间: 20231115
...相关的链接 提交 1 个回复 Anoxia 赞同来自: 已找到问题,getComponent(Laya.PhysicsCollider)._enabled=true;必须在对象removeSelf()之前进行操作。不知道为什么放到后面会在循环之前关卡的时候破坏游戏中所有的碰撞盒。 2021-02-05 0 0 分享 微...
来源: Laya_社区 发布时间: 20210201
...请: 与内容相关的链接 提交 1 个回复 bpmf_d 赞同来自: (spr.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D).totalForce; 这样可以获取总力 2019-05-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 lenovo 相关...
来源: Laya_社区 发布时间: 20190103
...请: 与内容相关的链接 提交 1 个回复 shawn 赞同来自: 先用getComponent获取组件后, 调用组件的destroy方法 2018-12-01 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 腊笔小新 相关问题 Layabox 2.0 bate5 ...
来源: Laya_社区 发布时间: 20181130
...scene.getChildByName('ball') as Laya.MeshSprite3D; let ballRigidboy = ball.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; ballRigidboy.friction = 1; ballRigidboy.rollingFriction = 1; ballRigidboy.restitution =1;拿到精灵节点,从精灵节点拿到刚体组件。 2019-11-29 0 1 分享 微...
来源: Laya_社区 发布时间: 20191129
...请: 与内容相关的链接 提交 1 个回复 bpmf_d 赞同来自: spr.getComponent(组件类型) 2019-05-10 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 冼哥 相关问题 2.0一不小心删了bin目录下的某个场景json文件...
来源: Laya_社区 发布时间: 20181213
...每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 | | onLateUpdate | 每帧更新之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 | | onDisable | 组件被禁用时执行,比如从节点从舞台移除后 | | onDestroy...
来源: Laya2.0_文档 发布时间: 20210715
...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...
来源: Laya3.0_api 发布时间: 20231115