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

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

131. laya.ui.List [ 48%]

...如果父节点手动设置为false,则不会更改)。 Sprite  mouseHandler : Handler单元格鼠标事件处理器(默认返回参数e:Event,index:int)。List mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获...

来源: laya_api 发布时间: 20170929

132. laya.ui.TextInput_API3.0 [ 48%]

...e { import laya.display.Stage; import laya.ui.TextInput; import laya.utils.Handler; public class TextInput_Example { public function TextInput_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load...

来源: Laya3.0_api 发布时间: 20231115

133. laya.ui.TextArea_API3.0 [ 47%]

... TextArea 实例。 package { import laya.ui.TextArea; import laya.utils.Handler; public class TextArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/inpu...

来源: Laya3.0_api 发布时间: 20231115

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

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

135. laya.net.Loader_API3.0 [ 45%]

...url: string | ILoadURL | (string | Readonly<ILoadURL>)[], complete?: Handler, progress?: Handler, type?: string, priority?: number, cache?: boolean, group?: string, ignoreCache?: boolean, useWorkerLoader?: boolean): Promise<any> Defined in laya/net/Loader.ts:204 加载资源。 Parameter...

来源: Laya3.0_api 发布时间: 20231115

136. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 45%]

... Returns Sprite3D 克隆实例。 Static load load(url: string, complete: Handler): void Inherited from PixelLineSprite3D.load Defined in laya/d3/core/Sprite3D.ts:77 加载网格模板。 Parameters url: string 模板地址。 complete: Handler 完成回掉。 Returns void Globals "laya/d3/core/refl...

来源: Laya3.0_api 发布时间: 20231102

137. laya.ui.ViewStack_API3.0 [ 44%]

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

138. laya.ui.List [ 44%]

...如果父节点手动设置为false,则不会更改)。 Sprite  mouseHandler : Handler单元格鼠标事件处理器(默认返回参数e:Event,index:int)。List mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获...

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

139. 为什么会出现报错 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

140. laya.ui.Clip_API3.0 [ 44%]

...景颜色 var clip; Laya.loader.load("resource/ui/clip_num.png",laya.utils.Handler.create(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加载完成!"); clip = new laya.ui.Clip("resource/ui/clip_num.png",10,1);//创建一个 Clip 类的实例对象 clip ,传入它...

来源: Laya3.0_api 发布时间: 20231115