大约有 799 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
Laya_社区(467) Laya3.0_api(111) Laya3.0_文档(62) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(24) Laya2.0_示例(9)
...猫大侠 • 2020-06-15 17:58 @189*****909: //预加载所有资源 var resource = [sceneUrl]; Laya.loader.create(resource, Handler.create(this, this.onComplete3D, [onProloadComplete]), new Handler(this, this.progressFun, null, false)); this.scene3d = Loader.getRes(sceneUrl) as Scene3D; Laya.stage....
来源: Laya_社区 发布时间: 20200609
...只会执行一次 onStart(): void { fairygui.UIPackage.loadPackage("resources/LayaBUG", (pkgs) => { const view = pkgs[0].createObject("View"); console.log(view); this.owner.addChild(view.displayObject); }); } 我提出的問題是,Fairygui編輯器和Laya編輯器,使用B...
来源: Laya_社区 发布时间: 20250829
...y.Sprite; import laya.display.Stage; import laya.events.Event; import laya.resource.HTMLCanvas; import laya.resource.Texture; import rain.core.StageReferance; public class Main { private var _view:Sprite; public function Main() { Config.isAntialias = true;//抗锯齿 //初始化引擎 Laya.init(1024...
来源: Laya_社区 发布时间: 20180319
...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; import common.CameraMoveScript; public class TerrainScene { public function TerrainScen...
来源: Laya_示例 发布时间: 20260303
...享 微博 QZONE 微信 自由若水 赞同来自: 加个~试试,即 var resource = { {url:'~res/atlas/game/game.atlas',type:Laya.Load.ATLAS} } 2018-04-26 0 0 分享 微博 QZONE 微信 callback 赞同来自: 附件是 加载demo 代码非常少 可以重现我说的问题 function initLaya()...
来源: Laya_社区 发布时间: 20180426
...创建完毕,此方法只执行一次 onAwake(): void { this.skins = ["resources/res/ui/radioButton (1).png", "resources/res/ui/radioButton (2).png", "resources/res/ui/radioButton (3).png"]; Laya.loader.load(this.skins).then(() => { this.onLoadComplete(); }); } private onLoadComplete(e: any = n...
来源: Laya3.0_文档 发布时间: 20251016
... Developer Program License Agreement. This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it has the potential to load private...
来源: Laya_社区 发布时间: 20191104
...raphicsClasspublic class IndexBuffer3DInheritanceIndexBuffer3D Buffer laya.resource.Resource IndexBuffer3D 类用于创建索引缓冲。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By _bindActive : Object[static] Buffer _bindVertexBuffer : ...
来源: laya_api 发布时间: 20170929
...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.TextureCube; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.net.Loader; import laya.utils.Handler; import laya.utils.Stat;...
来源: Laya_示例 发布时间: 20260303
...没有像layacmd atlas那样能实现下面功能的参数 -r --resDir <resource directory> 无法被打包的文件的输出目录 问题2: layaair-cmd ui -a 能指定项目路径吗?好像没发现这参数。 2018-01-08 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: https://...
来源: Laya_社区 发布时间: 20180104