大约有 751 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0047 秒)
Laya_社区(373) Laya2.0_文档(127) Laya2.0_api(88) laya_api(74) Laya3.0_api(61) Laya3.0_文档(10) Laya2.0_示例(9) Laya_示例(9)
...本 */ export default class TextAncient extends Laya.Script { /** @prop {name:text, tips:"显示文本", type:String, default:"hello world"}*/ public text: string = "hello world"; /** @prop {name:color, tips:"字符串类型示例", type:String, default:"#0000ff"}*/ public color: string = "#0000ff";...
来源: Laya_社区 发布时间: 20191103
...RES._res; } /** * 加载资源配置文件 */ public static loadResJson(srcName: string,caller: any){ Laya.loader.load("res/" + srcName,new Laya.Handler(caller,function(arg: any){ if(arg){ RES.groups = arg.groups; RES.resources = arg.resources; RES.getInstance().event(RES.ONLOADEDRESJSON,arg); }else...
来源: Laya_社区 发布时间: 20161011
..."text":"this is a list","x":26,"y":5,"width":78,"height":20,"fontSize":14,"name":"label"},"type":"Label"},{"props":{"x":0,"y":2,"skin":"comp/clip_num.png","clipX":10,"name":"clip"},"type":"Clip"}],"props":{"name":"render","x":0,"y":0,"width":112,"height":30}}],"props":{"x":452,"y":68,"width":128,"he...
来源: Laya_社区 发布时间: 20170330
...lu632375951 赞同来自: 1.建议官方在ui编辑器中加入一个var和name的同步选项,如果选择同步,则只需要输入var或者name其中之一,就能设定两个值。 2.建议在动画帧编辑那里,不要限定“第一帧不可编辑”,很多时候第一帧和页面...
来源: Laya_社区 发布时间: 20160824
...体报错的功能。 ERROR:invalid property id interface:function(name,_super){ Laya.__package(name,{}); var ins=Laya.__internals; var a=ins[name]=ins[name] || {self:name}; if(_super) { var supers=_super.split(','); a.extend=[]; for(var i=0;i<supers.length;i++){ var nm=supers[i]; ins[nm]...
来源: Laya_社区 发布时间: 20180806
...ControllerLayer defaultWeight : int 权重。AnimatorControllerLayer name : String 层的名称。AnimatorControllerLayer playOnWake : Boolean = true 激活时是否自动播放AnimatorControllerLayerPublic Methods MethodDefined By AnimatorControllerLayer(name:String) 创建一个 Anim...
来源: Laya2.0_api 发布时间: 20190513
...DeepSkyblueRect(); this.createDarkOrchidRect(); // 设置舞台 Laya.stage.name = "暗灰色舞台" Laya.stage.on(Event.MOUSE_DOWN, this, this.onDown); } createCoralRect() { const Sprite = Laya.Sprite, Event = Laya.Event; let coralRect = new Sprite(); coralRect.graphics.drawRect(0, 0, Laya.stage.wid...
来源: Laya2.0_示例 发布时间: 20241117
..."text":"this is a list","x":26,"y":5,"width":78,"height":20,"fontSize":14,"name":"label"},"type":"Label"},{"props":{"x":0,"y":2,"skin":"comp/clip_num.png","clipX":10,"name":"clip"},"type":"Clip"}],"props":{"name":"render","x":0,"y":0,"width":112,"height":30}}],"props":{"x":452,"y":68,"width":128,"he...
来源: Laya_社区 发布时间: 20170330
...all = myscene.addChild(sp.clone()); ball.name = i.toString(); } console.log("add finished: ", myscene.numChildren); for(var i=0; i<myscene.numChildren; i++){ ...
来源: Laya_社区 发布时间: 20200723
...tObj,'uint'))debugger;//在此行会自动断点 ================== AS: setName(123); function setName(name:String):void { trace(name); } JS: function setName (name){ if(!__DEBUGTYPE__(name,'String'))debugger;//在此行会自动断点 trace(name); } =================== AS: var asString:String = asO...
来源: Laya_社区 发布时间: 20151203