大约有 2,539 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0074 秒)
Laya_社区(1916) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
....create(this,this.Onloaded),null,Laya.Loader.TEXT,0,true,null,true);*/ let event1=Laya.loader.load("eyeimf.txt", Laya.Handler.create(this, this.Onloaded), null, Laya.Loader.TEXT,0,true,null,true); //console.log(Laya.Loader.loadedMap); } 另外就是加载的时候,不缓存资源,就不能读取...
来源: Laya_社区 发布时间: 20171227
...gameThirdScriptError (unknown) gameThirdScriptError Cannot read property 'events' of undefined TypeError: Cannot read property 'events' of undefined at Function.EventDispatcher.__init$ (http://127.0.0.1:52880/game/code.js:630:29) at http://127.0.0.1:52880/game/code.js:14:71 at Arra...
来源: Laya_社区 发布时间: 20180504
...ree 赞同来自: //开启节点destroy 事件 LayaPatch.Enable_NodeDestroyEvent = function(){ var oldDestroy = Laya.Node.prototype.destroy; Laya.Node.prototype.destroy = function(){ this.event('destroy'); oldDestroy.call(this); } } 2017-11-20 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞...
来源: Laya_社区 发布时间: 20171120
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
... factory = new Templet(); factory.on(Event.COMPLETE, this, onSkeletonDataParsed); // factory.on(Event.ERROR, this, onError); // factory.parseData(texture, data, 60); factory.loadAni("res/Dragon.sk"); ...
来源: Laya_社区 发布时间: 20160902
... Laya.stage.addChild(button); button.on(laya.events.Event.CLICK,this,function () { let photo = laya.utils.Browser.getElementById("photo"); photo.click(); }); } } new GameMain(); 为什么 click事件没...
来源: Laya_社区 发布时间: 20161114
...序API dialog 自定义关闭效果,效果执行完,弹窗无法关闭 event自定义事件的问题 写了个边缘光的自定义shader,有很多问题,帮忙看一下 layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 请问如何使我的自定义类...
来源: Laya_社区 发布时间: 20180328
....core.js:9634) at SceneLoader.create (laya.core.js:20746) at EventHandler.__proto.run (laya.core.js:1111) at SceneLoader.__proto.event (laya.core.js:882) at SceneLoader.__proto._checkNext (laya.core.js:15729) at SceneLoader.__proto.onOneLoadComplete (laya.core.js:1...
来源: Laya_社区 发布时间: 20181016
...w = function () { LoginView.super(this); this.btnReg.on(Laya.Event.CLICK, null, function () { console.log("on btReg event") }); } 目前编辑的代码辅助,好像还是无法获得父类的成员变量比如 btnReg。这是视频提到的一个ide的功能bug ...
来源: Laya_社区 发布时间: 20170317
... this.addChild(bg2); bg2.on(laya.events.Event.MOUSE_DOWN,this,test); } ================== public static function createSprite(url:String,c:Boolean = false):Sprite { var sp:Sprite = new Sprite(); sp.loadImage(url); ...
来源: Laya_社区 发布时间: 20161223