大约有 1,191 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
Laya3.0_api(429) Laya_社区(256) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(29) Laya2.0_示例(6) Laya_示例(6)
....EncodeToPNG'. LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:417) LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:323) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Refle...
来源: Laya_社区 发布时间: 20170926
...右向左的显示顺序*/ public static var RightToLeft:Boolean = false; /** * 设置文字排版模式为右到左。 */ public static function setTextRightToLeft():void { var style:Object;...
来源: Laya_社区 发布时间: 20180703
...var tempRotationY:Quaternion = new Quaternion(); protected var isMouseDown:Boolean; protected var rotaionSpeed:Number = 0.00006; protected var camera:BaseCamera; protected var scene:Scene; public function CameraMoveScript() { } override public function _initialize(owner:Sprite3D):void { super._initi...
来源: Laya_社区 发布时间: 20170218
...cene2.ls"] Laya.loader.create(resource, Laya.Handler.create(this, (success:boolean) => { console.log("3d加载完毕:" + success); }),Laya.Handler.create(this, (progress: number) => { })); 这是个数组。。但是场景文件不存在,失败参数都是空的。。跟文档描述不符合...
来源: Laya_社区 发布时间: 20190626
...); } ================== public static function createSprite(url:String,c:Boolean = false):Sprite { var sp:Sprite = new Sprite(); sp.loadImage(url); return sp; } bg和bg2一样大,bg盖在bg2上,无论对bg或者是bg2添加事件...
来源: Laya_社区 发布时间: 20161223
... = this[property]; this[property] = value; if (value != data) { var result:Boolean = event(eventType , {oldValue:data , newValue:value}); } } }现在问题就出在Data这个类上面,如果将Data修改为继承Obejct,则List就可以响应SelectHandler,现在继承自EventDispatcher就不行...
来源: Laya_社区 发布时间: 20161223
...,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指定当mouseEnabled=true时,是否可穿透。默认值为false,如果设置为true,则点击空白区域可以穿透过去。” 2.Laya.Handler 我在处理技能的时候用了对象池,其中类...
来源: Laya_社区 发布时间: 20161109
...er.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:435) LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:337) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Refle...
来源: Laya_社区 发布时间: 20180510
...相关的部分。 核心就是如下方法: public setCanDrag(canDrag:boolean) { this.m_CanDrag = canDrag; if(this.m_CanDrag) { this.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } else { this.off(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } } onMouseDown(e: Laya.Event) { // console.l...
来源: Laya_社区 发布时间: 20191121
...esource/config.ini) 参数详解 参数名 类型 示例值 说明 Enabled Boolean true 是否开启启动页功能。true: 开启false: 关闭 BackgroundColor String '#000000' 背景颜色,支持十六进制颜色字符串。 Image String image/splash.png 图片文件的路径(相对于资源...
来源: Laya3.0_文档 发布时间: 20251128