大约有 1,758 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0053 秒)
Laya_社区(1080) Laya3.0_api(672) Laya2.0_文档(2) Laya_示例(1) Laya3.0_文档(1) Laya2.0_api(1) Laya2.0_示例(1)
...7874 17959 E jswrapper: ERROR: Uncaught TypeError: this.drawImage is not a function, location: /data/user/0/com.nearme.instant.platform/app_game/app/com.fuck.module/1/libs/laya.core.js:0:0 05-31 15:57:02.604 17874 17959 E jswrapper: STACK: 05-31 15:57:02.604 17874 17959 E jswrapper: [0]e.drawTexture...
来源: Laya_社区 发布时间: 20190531
...nce.start(5, 500); Shake.instance.on(Event.CHANGE, this, onShake); private function onShake():void { console.log("摇晃了!!!!"); }这段代码发布到微信小游戏上并无效果 请问是什么原因呢 2018-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20180726
...ya2.1.0 JS调用Java PlatformClass undefined api readFile success callback function undefined Cannot read property 'call' of undefined 生成微信小游戏时各种"undefined"(已解决) 运行编译 报错Cannot read property 'on' of undefined Cannot read property 'call' of undefined 问题状态 ...
来源: Laya_社区 发布时间: 20200313
...lse), Loader.TEXT); Laya.loader.on(Event.ERROR, this, onError); private function onAssetLoaded(texture:Texture):void{ //console.log("111: "); txt.visible=false; title = new Sprite(); ...
来源: Laya_社区 发布时间: 20171001
...eList2D count getNodeByIndex setNodeByIndex Legend Object literal Variable Function Type alias Class Class with type parameter Method Accessor Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...new Laya.Vector3(1,0,0); //每10毫秒旋转一次 Laya.timer.loop(10,null,function(){ box.transform.rotate(vect,true,false); }); 以上是代码 出现的问题是有一个物体 然后另外一个物体在旋转 2018-08-08 添加评论 已悬赏2元 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20180808
..."./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.graphics.drawTriangles( tex, 100, 0, new Float32Array([0,0,1,0,1,1,0,1]), new Float32Array([0,0,1,0,1,1,0,1]), new Uint1...
来源: Laya_社区 发布时间: 20190829
...EFINE_CLEARCOAT_NORMAL DEFINE_EMISSION init Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
... new Sprite(); Laya.stage.frameLoop(1, null, drawMask); var index:int = 0; function drawMask():void { index++; if(index > 72) index = index-72; var angle:int = index*5; spr.mask.graphics.drawPie(0,0,100,0,angle, "#ffffff"); } 2018-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180502
...aderPolicy.setup(URLResolver.solvePath("files.fst?"), Handler.create(this, function xload() : void { //无法播放 Laya.loader.load(URLResolver.solvePath("config.xml"), Handler.create(this, onConfigLoaded), null, Loader.XML); //直接调用可以正常播放 //onConfigLoaded(null); })); 运行...
来源: Laya_社区 发布时间: 20171115