大约有 842 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
Laya_社区(496) Laya3.0_api(111) Laya3.0_文档(70) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(30) Laya2.0_示例(9)
... this.m_cur_scence.destroy();//销毁场景 this.m_cur_scence = null; Laya.Resource.destroyUnusedResources();//销毁无用资源(没有被场景树引用,并且没有加资源锁的) if(Laya.Browser.onMiniGame) Laya.Browser.window.wx.triggerGC(); 2019-12-10 0 0 分享 微博 QZONE 微信 小程序K...
来源: Laya_社区 发布时间: 20191102
...or: Game is not defined at /C:/Users/God/AppData/Local/Programs/LayaAirIDE/resources/app.asar/game.js:2 importing ~/internal/Box.lm importing ~/internal/Capsule.lm importing ~/internal/Cone.lm importing ~/internal/Cylinder.lm importing ~/internal/Plane.lm native tools encoding set to cp936 importing...
来源: Laya_社区 发布时间: 20250102
... package { import laya.display.Sprite; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Demo { private var num:Number=0;//加载图片的个数 private var sp:Sprite;//显示图片的显示对象容器 priv...
来源: Laya_社区 发布时间: 20161107
...r() { let material = ShurikenParticleMaterial.load("resources/Assets/ArtResources/Effects/Materials/Effect_yu_jinbi_xulie.lmat"); super(material); { let s = this.particleSystem; ...
来源: Laya_社区 发布时间: 20170605
...改为自己使用的版本! /Applications/LayaAirIDE_beta.app/Contents/Resources/app/out/vs/layaEditor/h5/layabuilder.max.js 用windows的同学请自行找目录哈。 2.找到下面代码,具体行号不同版本可能不一样,仅供参考 24522 if...
来源: Laya_社区 发布时间: 20190128
... class PBRSpecularMaterialInheritancePBRSpecularMaterial BaseMaterial laya.resource.Resource PBRSpecularMaterial 类用于实现PBR(Specular)材质。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By albedoColor : Vector4 获取反射率颜...
来源: Laya2.0_api 发布时间: 20190513
...l": ".", "paths": { "tslib": [ "/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/tslib/tslib.d.ts", "tslib/tslib.d.ts" ] }, "lib": [ "esnext", "dom", "es2015.promise" ] } } 此时就要考虑转es5了,拿微信小游戏来说,wxgame.json配置里面打开es6toes5"useMinJsLib...
来源: Laya_社区 发布时间: 20200705
....Stage; import laya.events.Event; import laya.maths.Rectangle; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Interaction_Drag { private const ApePath:String = "../../../../res/apes/monkey2.png"; private var ape:Sprite; priva...
来源: Laya_示例 发布时间: 20251209
... class PBRStandardMaterialInheritancePBRStandardMaterial BaseMaterial laya.resource.Resource PBRStandardMaterial 类用于实现PBR(Standard)材质。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By albedoColor : Vector4 获取漫反射颜...
来源: Laya2.0_api 发布时间: 20190513
...de项目 5. 把第2步生成的layadccout下cache目录拷贝至xcode下的resource目录 6. 把第1步发布的所有文件上传至“http://xxx.xxx.com/”目录下 7. 把第3步生成的update目录上传至“http://xxx.xxx.com/”目录下 8. 在xcode下编译生成并运行游戏,可以正...
来源: Laya_社区 发布时间: 20190430