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

大约有 820 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0085 秒)

641. laya.ui.View [ 45%]

...类型是否是鼠标事件。 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

642. laya.display.Animation [ 45%]

...否是鼠标事件。 EventDispatcher  loadAnimation(url:String, loaded:Handler = null, atlas:String = null):Animation 加载并解析由LayaAir IDE制作的动画文件,此文件中可能包含多个动画。默认帧率为在IDE中设计的帧率,如果调用过set interval,则使用此帧...

来源: Laya2.0_api 发布时间: 20190513

643. 1.76beta引擎库的BUG:Laya.List动态载入后,滑动时会将list框本身的滑动区域一并向滑动方向移动,会出现点击list中空白区域就无法滑动的情况 [ 45%]

...         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

644. laya.ui.ViewStack_API3.0 [ 45%]

...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

645. SCALE_FIXED_WIDTH适配屏幕的问题 [ 45%]

...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

646. laya.ui.Slider [ 44%]

...直方向中心线的距离(以像素为单位)。 Component  changeHandler : Handler 数据变化处理器。 默认回调参数为滑块位置属性 value属性值:Number 。 Slider comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定...

来源: laya_api 发布时间: 20170929

647. 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 [ 44%]

...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

648. laya.ui.ComboBox [ 44%]

...l : String 表示选择的下拉列表项的的标签。 ComboBox  selectHandler : Handler 改变下拉列表的选择项时执行的处理器(默认返回参数index:int)。 ComboBox  sizeGrid : String 当前实例的位图 AutoImage 实例的有效缩放网格数据。 数据格式:"上边...

来源: Laya2.0_api 发布时间: 20190513

649. laya.ui.Button [ 44%]

...直方向中心线的距离(以像素为单位)。 UIComponent  clickHandler : Handler 对象的点击事件处理器函数(无默认参数)。 Button customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数...

来源: Laya2.0_api 发布时间: 20190513

650. 为什么会出现报错 ani not found:ufo1_down [ 44%]

...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