• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0061 秒)

3831. dialog的lock属性没出现 [ 47%]

...log (1).png", "res/ui/close.png"]; Laya.loader.load(assets, Handler.create(this, onSkinLoadComplete)); } private function onSkinLoadComplete(e:*=null):void { var dialog:Dialog = new Dialog(); var bg:Image = new Image(assets[0]); dialog.addChild(bg); var button:Button = new Button(assets[1]); button....

来源: Laya_社区 发布时间: 20170706

3832. EXT:webgl support OES_vertex_array_object! [ 47%]

... not defined? 关于同为object层,层级设置无效的问题 Warning!,this class[MiniAdpter] already exist: Object {init: } LayaAirIDE2.2 - Laya3D init error ,must support webGL 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? 2.5引擎版本webgl使用...

来源: Laya_社区 发布时间: 20181012

3833. 3D场景中背景无法透明,版本2.7.1 [ 47%]

...true; Laya.init(480, 900); Laya.stage.bgColor = null; //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya....

来源: Laya_社区 发布时间: 20201021

3834. ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null [ 47%]

...。   想做不同场景之间的切换。 spriteBtn.on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityPlugin 1.1.0导出了 ls 场景文件,在通过Laya.loader.create()预加载后。在3次Laya.Scene.load()后,最后一次 Laya.stage....

来源: Laya_社区 发布时间: 20170615

3835. Chrome104.0.51112.102版本LayaBox2.13.0启动报错 [ 47%]

...2 @Laya_Yan:改完以后换了个地方报错。throw gl.getProgramInfoLog(this._program); laya.core.js 3565行

来源: Laya_社区 发布时间: 20220824

3836. Uncaught Can not find class EffectAnimation undefined [ 47%]

...tBitmapData Cannot find the specified character in all fonts:263c Warning!,this class[MiniAdpter] already exist: Object {init: } 2.0.0编译报错Cannot find global type 'Array' 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. 问题状态 最新活动: 2019-02-13 11:25...

来源: Laya_社区 发布时间: 20181126

3837. 图集制作与使用详解(ActionScript-IDE篇(AS3)-使用IDE创作) [ 47%]

...集使用示例 Laya.loader.load("./res/atlas/test.atlas", Handler.create(this, onLoaded)); ``` `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用于图集,所以为了识别是否为图集配置信息,在加载`.json`文件的图集时,需要...

来源: Laya2.0_文档 发布时间: 20210714

3838. 时间轴动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 47%]

...ded回调方法 Laya.loader.load("res/atlas/ui.atlas", Laya.Handler.create(this, onLoaded)); ``` 第二步:创建Animation实例,加载动画文件 ```javascript //创建一个Animation实例 var tl = new Laya.Animation(); //加载动画文件 tl.loadAnimation("TimeLine.ani"); ``` 第三步:...

来源: Laya2.0_文档 发布时间: 20210715

3839. Laya2.0绘制扇形遮罩,显示到部分角度时显示会有部分缺失(demo已上传) [ 47%]

...00, 500); Laya.stage.addChild(sp2); let r: number = 0 Laya.timer.loop(100, this, () => { if (r >= 360) r = 0; r++; sp.graphics.clear(true); sp.graphics.drawPie(0, 0, 50, 0, r, "#00ff1e"); sp2.graphics.clear(true); sp2.graphics.drawPie(0, 0, 50, 0, r, "#00ff1e"); }) 附件 : --> test.zip 2019-0...

来源: Laya_社区 发布时间: 20190701

3840. Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug [ 47%]

...public static url: string = "333.json"; private loadedMap; constructor() { this.loadedMap = Laya.Loader["loadedMap"];  Laya.init(720, 1280, Laya.WebGL); Laya.Stat.show(0,0); Laya.stage.alignH = "center"; Laya.stage.alignV = "middle"; Laya.stage.scaleMode = "fixedwidth"; console.log("iswebgl:", Laya...

来源: Laya_社区 发布时间: 20181018