大约有 820 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0085 秒)
Laya_社区(493) Laya2.0_文档(93) Laya3.0_api(91) Laya2.0_api(57) laya_api(53) Laya3.0_文档(22) Laya2.0_示例(7) Laya_示例(4)
...类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler = null, progress:Handler = null):void[static] 加载场景及场景使用到的资源 Scene loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture...
来源: Laya2.0_api 发布时间: 20190513
...否是鼠标事件。 EventDispatcher loadAnimation(url:String, loaded:Handler = null, atlas:String = null):Animation 加载并解析由LayaAir IDE制作的动画文件,此文件中可能包含多个动画。默认帧率为在IDE中设计的帧率,如果调用过set interval,则使用此帧...
来源: Laya2.0_api 发布时间: 20190513
... this.list.itemRender = Item_List; this.list.renderHandler = new Laya.Handler(this, this.onItemRender); this.list.scrollBar.elasticBackTime = 200; this.list.scrollBar.elasticDistance = 200; } open(): void { for(let i = 0; ...
来源: Laya_社区 发布时间: 20170614
...ht rotation scaleX scaleY scene scrollRect selectedIndex selection setIndexHandler skewX skewY stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addItem bubb...
来源: Laya3.0_api 发布时间: 20231115
...n); Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame)); } private loadGame(): void { var resArray = [ { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS }, ...
来源: Laya_社区 发布时间: 20181213
...直方向中心线的距离(以像素为单位)。 Component changeHandler : Handler 数据变化处理器。 默认回调参数为滑块位置属性 value属性值:Number 。 Slider comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定...
来源: laya_api 发布时间: 20170929
...n); Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame)); } private loadGame(): void { var resArray = [ { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS }, ...
来源: Laya_社区 发布时间: 20181202
...l : String 表示选择的下拉列表项的的标签。 ComboBox selectHandler : Handler 改变下拉列表的选择项时执行的处理器(默认返回参数index:int)。 ComboBox sizeGrid : String 当前实例的位图 AutoImage 实例的有效缩放网格数据。 数据格式:"上边...
来源: Laya2.0_api 发布时间: 20190513
...直方向中心线的距离(以像素为单位)。 UIComponent clickHandler : Handler 对象的点击事件处理器函数(无默认参数)。 Button customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数...
来源: Laya2.0_api 发布时间: 20190513
...this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初始化角色 this.hero.init("hero",0,1,0,30); // 设置射击类型 this.hero.shootType = 1...
来源: Laya_社区 发布时间: 20170525