大约有 2,531 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1345) Laya3.0_api(638) Laya2.0_api(288) laya_api(192) Laya2.0_文档(42) Laya_示例(11) Laya3.0_文档(9) Laya2.0_示例(6)
...个是js文件变量声明的问题 你把第一行 !function(e){if("object"==typeof exports&& 改成 var CANNON; !function(e){if(e&&e!=="undefined"){CANNON=e()}; if("object"==typeof exports&& 试试。 181*****859 • 2018-07-24 16:10 @156*****1...
来源: Laya_社区 发布时间: 20180424
...rnal/child_process.js:323:11) at exports.spawn (child_process.js:502:9) at Object.<anonymous> (/usr/local/lib/node_modules/layaair-cmd/layaair-cmd-resourceVersion.js:60:10) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:3...
来源: Laya_社区 发布时间: 20180514
...ya.ChainCollider); //****新增代码*****, } 报错内容: at Object.box2d.b2Assert (file:///E:/Develop/LayaProgram/test3d/bin/libs/laya.physics.js:38:57) at box2d.b2ChainShape.CreateChain (file:///E:/Develop/LayaProgram/test3d/bin/libs/laya.physics.js:348:98) at ChainCollider.__proto._...
来源: Laya_社区 发布时间: 20181130
....error(err); cb(err); }); let body = data; let tp = typeof data if(tp === 'object' || tp === 'array'){ if(method === 'post' || method === 'put') { body = JSON.stringify(data); } else { let query = ""; let first = true; for(let k in data) { if(!first){ query += '&'; } else { first = false; } quer...
来源: Laya_社区 发布时间: 20170123
...:25 http://www.devthought.com/2012 ... hash/ http://www.2ality.com/2012/01/objects-as-maps.html http://ryanmorr.com/true-hash-maps-in-javascript/ Until then, or even after, you should look to bare objects for all your basic hash map needs.
来源: Laya_社区 发布时间: 20160805
...:690:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (E:\cyh5\code\gzlaya\testnew2\.laya\publish.js:25:15) at Module._compile (internal/modules/cjs/loader.js:776:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) ...
来源: Laya_社区 发布时间: 20200113
...gt; GameUtils.deepCopy<any>(value)) as any } if (instance instanceof Object) { var copyInstance = {...(instance as { [key: string]: any }), } as { [key: string]: any } for (var attr in instance) { if ((instance as Object).hasOwnProperty(attr)) copyInstance[attr] = GameUtils.deepCopy<any>...
来源: Laya_社区 发布时间: 20230625
...laya.resourceClasspublic class ResourceInheritanceResource EventDispatcher ObjectImplements laya.resource.ICreateResource, laya.resource.IDisposeSubclasses AnimationTemplet, BaseMaterial, BaseMesh, BaseShader, BaseTexture, Buffer, Sky, TerrainHeightData, TerrainRes Resource 资源存取类。 Public...
来源: laya_api 发布时间: 20170422
...lic class CameraInheritanceCamera BaseCamera Sprite3D Node EventDispatcher Object Camera 类用于创建摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean...
来源: Laya2.0_api 发布时间: 20190513
...DInheritanceRigidbody3D PhysicsTriggerComponent PhysicsComponent Component Object Rigidbody3D 类用于创建刚体碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By angularDamping : Number 获取刚体的角阻力。 Rigidbody3D ...
来源: Laya2.0_api 发布时间: 20190513