大约有 2,033 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1424) Laya2.0_文档(233) Laya_示例(141) Laya2.0_示例(117) Laya3.0_api(61) Laya3.0_文档(44) Laya2.0_api(7) laya_api(6)
... 赞同来自: var handler : laya.utils.Handler = Laya.Handler.create(this, this.onGetStartScene); Laya.Scene.open("test/TestScene.scene", true, null, handler )在回调里加3D模型就显示正常了。 2020-01-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20200115
...余参数 Laya.loader.create("res/Cube.ls",Laya.Handler.create(this,this.completeHandler));
来源: Laya_社区 发布时间: 20190515
...配套的代码 在demo里有个类TestSceneUI 请问如何才能生成 /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ package ui.test { import laya.ui.*; import laya.display.*; public class TestSceneUI extends Scene { public var scoreLbl:Label; publ...
来源: Laya_社区 发布时间: 20181024
...rams.FLAG_FULLSCREEN); mProxy = new RuntimeProxy(this); mPlugin = new GameEngine(this); mPlugin.game_plugin_set_runtime_proxy(mProxy); mPlugin.game_plugin_set_option("localize","false"); mPlugin.game_plugin_set_option("gameUrl...
来源: Laya_社区 发布时间: 20170517
...邀请: 与内容相关的链接 提交 2 个回复 大林 赞同来自: this.gl = laya.webgl.WebGL.mainContext; if (!this.gl) { throw new Error('Failed to get WebGL Context'); } gl的context取不到,为空。webgl的支持也显示为false 2018-09-10 0 0 分享 微博 QZONE 微信 皓雪树青 ...
来源: Laya_社区 发布时间: 20180910
... 在一个界面中加入如上代码 video 没有显示 点击空白 this.videoElement.play is not a function TypeError: this.videoElement.play is not a function 2019-03-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20190312
...来自: 谢谢。应该是: layaMonkey.once(Event.HIERARCHY_LOADED, this, function():void{ //获取Animator动画组件 var zombieAnimator = (layaMonkey.getChildAt(0) as Sprite3D).getComponentByType(Animator) as Animator; ...
来源: Laya_社区 发布时间: 20180122
...(550,400); Laya.loader.load("walk.png",Handler.create(this,onLoaded)); } private function onLoaded():void { var texture:Texture=Laya.loader.getRes("walk.png"); //计算好UV,创建新的texture...
来源: Laya_社区 发布时间: 20160506
...ommon/img_paomaDi.png"); textDi.sizeGrid = "5,5,5,5"; textDi.size(580,30); this.addChild(textDi); _divElement = new HTMLDivElement(); _divElement.style.fontSize = 18; _divElement.style.color = "#ffffff"; //_divElement.style.strokeColor = "#34edde"; _divElement.style.wordWrap = false; //_divElement.s...
来源: Laya_社区 发布时间: 20171205
... super.destroy(true); Laya.loader.clearRes(this._path); } 画红框的区域还在内存里。。 https://ask.layabox.com/question/14807 。。 附件 : --> 2018-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20180517