大约有 128 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0066 秒)
...pe胶囊 胶囊体由一个圆柱体连接两个半球体组成。常用于角色控制器,或者和其他的组合成不规则形状。 玩家可以自己调整半径和高度调整胶囊体。 (图4) (图5) ```typescript var raidius = Math.random() * 0.2 + 0.2; var he...
来源: Laya2.0_文档 发布时间: 20210715
...pe胶囊 胶囊体由一个圆柱体连接两个半球体组成。常用于角色控制器,或者和其他的组合成不规则形状。 玩家可以自己调整半径和高度调整胶囊体。 (图4) (图5) ```typescript var raidius:int = Math.random() * 0.2 + 0.2; va...
来源: Laya2.0_文档 发布时间: 20210714
...素之一。在游戏中有许多对象在不停的创建与移除,比如角色攻击子弹、特效的创建与移除,NPC的被消灭与刷新等,在创建过程中非常消耗性能,特别是数量多的情况下。对象池技术能很好解决以上问题,在对象移除消失的时候...
来源: Laya3.0_文档 发布时间: 20250214
...素之一。在游戏中有许多对象在不停的创建与移除,比如角色攻击子弹、特效的创建与移除,NPC的被消灭与刷新等,在创建过程中非常消耗性能,特别是数量多的情况下。对象池技术能很好解决以上问题,在对象移除消失的时候...
来源: Laya3.0_文档 发布时间: 20250104
...pe胶囊 胶囊体由一个圆柱体连接两个半球体组成。常用于角色控制器,或者和其他的组合成不规则形状。 玩家可以自己调整半径和高度调整胶囊体。 (图4) (图5) ```typescript var raidius:number = Math.random() * 0.2 + 0.2;...
来源: Laya2.0_文档 发布时间: 20210714
...导出,相比场景的导出,没有了光照贴图的导出,常用于角色或游戏中活动物品的单独资源导出,文件扩展名的是`.lh`,需要用Spite3D类或它的继承类加载。 ##### 3.3.4 导出配置项说明 导出配置中根据功能分成几个配置模块,分别...
来源: Laya2.0_文档 发布时间: 20210714
...乎与.fbx的档案设定成Animationa Type : Generic 有关系。 某些角色的 Animator 中若Motion设定动作后,就一定会有这个错误。 KeyNotFoundException: The given key was not present in the dictionary.System.Collections.Generic.Dictionary`2[System.String,System.Collections.G...
来源: Laya_社区 发布时间: 20170428
...aya.ColliderBase, self?: Laya.ColliderBase, contact?: any): void { //模拟角色离开毒气区域,触发逃脱奖励 if (other.label == "poison") { // 此处省略逃脱奖励的逻辑 console.log("离开毒气区域:" + self.label + "获得逃脱奖励,生命值+10"); } console.log("onTrigg...
来源: Laya3.0_文档 发布时间: 20250103