大约有 75 项符合查询结果, 库内数据总量为 30,583 项。 (搜索耗时: 0.0027 秒)
...的情况。 那同理,静态变量如果初始赋值为另一个类的单例, 比如public static value: any = OtherClass.instace,这个也匹配不到的。 2017-11-07 0 0 分享 微博 QZONE 微信 ymsdandan 赞同来自: 好的,我们会和相关人员商讨一下,感谢您的宝贵建...
来源: Laya_社区 发布时间: 20171107
...: 我接入过CannonJS. 因为oimo没有ts描述文件 :( 建立一个单例里面跑Cannon.World private constructor() { this.world = new CANNON.World(); this.world.allowSleep = true; Laya.timer.frameLoop(1, this, this.Step); } public Step() { this.world.step(1 / 60); } 再把CANNON.Body包...
来源: Laya_社区 发布时间: 20200217
...ton,can't add the second one. 翻看源码后发现有这么一段判断单例组件的限制 __proto.addComponentIntance=function(comp){ if (comp.owner) throw "Node:the component has belong to other node."; if (comp.isSingleton && t...
来源: Laya_社区 发布时间: 20190609
...ya.pathfinding.js的使用教程吗?API中没有找到。 设备的几个单例都获取不到 问题状态 最新活动: 2019-01-08 18:35 浏览: 2698 关注: 9 人 Max.魚魚魚鱼魚魚 • 2019-01-20 19:40 我安装最佳那个方案,解决了。先删了在 lib 的wxmini.js 中 注释掉第...
来源: Laya_社区 发布时间: 20181215
...ls { /** * <code>Timer</code> 是时钟管理类。它是一个单例,可以通过 Laya.timer 访问。 */ class Timer { private static _pool; /** 时针缩放。*/ scale: number; /** 当前时间。*/ currTimer: number; /** 当前的帧数。*/ currFrame: number; /** *两帧之间的...
来源: Laya_社区 发布时间: 20171109