• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 4 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0022 秒)

1. 协议打包byte出错 [ 100%]

...uired bytes career = 2; //角色职业 //          required bytes sex = 3; //角色性别 // }             if(Msg== null){                 Msg = ProtoManager.Instance.getProtoObj(protoFileName).lookup(msgName);             }             tr...

来源: Laya_社区 发布时间: 20180314

2. 如何给untiy模型导出增加自定义属性值 [ 84%]

...属性和值,比如给一个模型对象增加个age属性,值为18,sex属性值为'女'这种,并且在laya里面可以获取相应的内容,请问如何去实现? 2020-10-22 添加评论 已悬赏20元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

来源: Laya_社区 发布时间: 20201022

3. Animation 缓存问题。。。。。。 [ 74%]

..."+ transformToDesignIndex(index)]._childs[0].loadAtlas("res/atlas/ui/ani/"+sex1+".json",null,""); //加载动画 添加 “null ”不是不缓存了 看了api文档 还是不理解 怎样才能彻底清除动画缓存 2018-03-31 2 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

来源: Laya_社区 发布时间: 20180331

4. 多个模块之间相互嵌套import,导致运行报错 [ 63%]

...的change函数。 Animal.tsclass Animal implements EventEmiter { public sex: number = 0; public Create(): void {} public Attack(): void { this.emit('attack'); } } Manager.ts public CreateCat(): void { let self = this; let cat = new Cat(); cat.Create(); cat.on('attack', function () { self.Change(); ...

来源: Laya_社区 发布时间: 20190226