大约有 1,054 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
Laya_社区(615) Laya_示例(157) Laya2.0_文档(149) Laya2.0_示例(116) laya_api(7) Laya3.0_文档(5) Laya3.0_api(3) Laya2.0_api(2)
...微信上动态合批报错. 导微信小程序报错window.focus is not a function laya2 发布微信开放域工程,用微信开发者工具打开报错 用了ByteArray的zlib.min.js后报错 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play()...
来源: Laya_社区 发布时间: 20170330
...lic class TiledMap_PerspectiveWall { private var tiledMap:TiledMap; public function TiledMap_PerspectiveWall() { // 不支持WebGL时自动切换至Canvas Laya.init(700, 500, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.bgColor = "#232628"; creat...
来源: Laya2.0_示例 发布时间: 20260819
...Tween.to(spring2,{scaleX:1.0,scaleY:1.0},500,null,Laya.Handler.create(this,function(){ if(!spring2.destroyed){ // 添加判断后就不出bug了 Laya.Tween.to(spring2,{alpha:0},300,null,Laya.Handler.create(this,function(){ if(callback...
来源: Laya_社区 发布时间: 20170217
...('complete', this, onPlayEnd);视频播完为何不触发“complete”? function onPlayEnd(evt:Event){ trace("video complete"); } 为何视频播完不触发呢? http://layaair.ldc.layabox.com ... Video 这里要是可以调试该多好~ 2017-01-16 添加评论 免费帖 --> 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20170116
...ort laya.ui.Label; import laya.webgl.WebGL; public class UI_Label { public function UI_Label() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stag...
来源: Laya2.0_示例 发布时间: 20260819
...en.to(box.potOld,{ x:1 ,y:2 ,update:new Laya.Handler(box,function(){ this.transform.position = this.potOld; }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){ console.log("complete"); }),ConstValue.animationDelay); ...
来源: Laya_社区 发布时间: 20180112
... 二、常用快捷键(General) | **按 键(Press)** | **功能( Function)** | | --------------------- | ---------------------------------------- | | `Ctrl + Shift + P,F1` | 显示命令面板 Show Command Palette | | `Ctrl + P` | 快速打开 Quick Open | | `Ctrl + Shift + N` | 新窗...
来源: Laya2.0_文档 发布时间: 20210714
...gl.WebGL; public class HelloLaya { private var html:HTMLDivElement; public function HelloLaya() { Laya.init(600, 600,WebGL); Laya.stage.bgColor="#eeffcc"; var sp:Sprite=new Sprite(); sp.graphics.drawRect(50,50,300,300,null,"#0000FF",2); Laya.stage.addChild(sp); html=new HTMLDivElement(); html.innerH...
来源: Laya_社区 发布时间: 20170905
...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
...s.Stat; import common.CameraMoveScript; public class Sprite3DLoad { public function Sprite3DLoad() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; scene.ambientCol...
来源: Laya_示例 发布时间: 20260819