大约有 2,654 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0150 秒)
Laya_社区(2024) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(47)
...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
...获取了,可以通过加一个延迟函数进行处理抑或添加一个Event.COMPLETE函数。 参考如下: 第二个问题:this.body和this.hero的区别 this.body是Role类下的animation实例:是个Animation this.hero是Role类的实例:是个Sprite(因为Role继承自Sprite) ...
来源: Laya_社区 发布时间: 20160729
...可以捕获大部分按键 但tab键是无法捕获的! userName_txt.on(Event.KEY_PRESS,this,tabNext,[userName_txt]); private function tabNext(e:Event,target:Node):void { if(e.keyCode == Keyboard.TAB) { //无法触发 焦点直接直接到浏览器外去了(浏...
来源: Laya_社区 发布时间: 20180926
... this.label.visible = true; this.label.on(Laya.Event.MOUSE_OVER, this, this.ChangeLabelColor); this.label.on(Laya.Event.MOUSE_OUT, this, this.ChangeLabelColor); } 附件 : --> Test1.zip 2019-05-14 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20190514
... } private function onSelect(cardList:List, evt:Event, index:int):void { var cell:Box = cardList.getCell(index); if(cell){ if(evt.type == Event.CLICK){ // ...
来源: Laya_社区 发布时间: 20170310
... at onLoaded (file:///Users/moos/Company/EmersonGame/src/Game.js:43:25) at EventHandler.__proto.runWith (file:///Users/moos/Company/EmersonGame/bin/libs/laya.core.js:724:59) at ResInfo.__proto.event (file:///Users/moos/Company/EmersonGame/bin/libs/laya.core.js:494:28) at LoaderManager.__proto._endLo...
来源: Laya_社区 发布时间: 20180707
...p = Laya.Sprite3D.load('res/01/mfs_01.lh'); scene.addChild(sp); sp.on(Laya.Event.HIERARCHY_LOADED, this, function(){ sp.transform.localPosition = new Laya.Vector3(1, 1, 1); var scale = 1; var v3 = sp.transform.localScale; v3.x = scale; v3.y = scale; v3.z = scale; sp.transform.localScale = v3; }) //...
来源: Laya_社区 发布时间: 20170504
...prite.__proto._setTextureEx (http://stand.alone.version/lib ... 906:34) at EventHandler.__proto.runWith (http://stand.alone.version/lib ... 408:41) at Texture.__proto.event (http://stand.alone.version/lib ... 169:30) at Texture.__proto._onLoaded (http://stand.alone.version/lib ... 5598:8) at EventHa...
来源: Laya_社区 发布时间: 20190302
...代码:** ```javascript package { import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.ui.Clip; import laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_Clip { /***控制器按钮资源***/ private var buttonSkin:String = "../../....
来源: Laya2.0_文档 发布时间: 20210714
...o.addChild (laya.core.js:13290) at Main.<anonymous> (Main.ts:148) at EventHandler.__proto.runWith (laya.core.js:1399) at ResInfo.__proto.event (laya.core.js:1156) at LoaderManager.__proto._endLoad (laya.core.js:14773) at Loader.onLoaded (laya.core.js:14743) at EventHandler.__proto.runWith (lay...
来源: Laya_社区 发布时间: 20181208