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

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

11. laya.ui.Dialog_API3.0 [ 65%]

...一个 Dialog 实例。 package { import laya.ui.Dialog; import laya.utils.Handler; public class Dialog_Example { private var dialog:Dialog_Instance; public function Dialog_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的...

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

12. Cannot read property 'load' of null [ 64%]

...p/28.jpg", "res/img/map/29.jpg", ]; Laya.loader.load(this.skins,laya.utils.Handler.create(this, this.LoadSuccess,null,false)); } private LoadSuccess() { ViewManager.getInstance().CreateView(contant.loginId,new LoginView()); ViewManager.getInstance().ShowView(contant.loginId); } public SwictMap(index...

来源: Laya_社区 发布时间: 20171124

13. laya.ui.DialogManager [ 62%]

...有额外内存开销,无需renderTarget支持。 Sprite  closeEffectHandler : Handler全局默认弹出对话框效果,可以设置一个效果代替默认的弹出效果,如果不想有任何效果,可以赋值为nullDialogManager customRenderEnable : Boolean[write-only] 设置是否开...

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

14. 预制体模块 · LayaAir3文档 · LAYABOX [ 59%]

...load,同时可以加载2D,3D资源 Laya.loader.load(resArr, null, Laya.Handler.create(this, this.onLoading, null, false)).then(() => { // 加载完成后,处理逻辑 this.progress.value = 0.98; console.log("加载结束", this.progress.value); //预加载的东西太少,为了本地看效...

来源: Laya3.0_文档 发布时间: 20241014

15. 预制体 · LayaAir3.3 · 引擎文档 · LAYABOX [ 58%]

...load,同时可以加载2D,3D资源 Laya.loader.load(resArr, null, Laya.Handler.create(this, this.onLoading, null, false)).then(() => { // 加载完成后,处理逻辑 this.progress.value = 0.98; console.log("加载结束", this.progress.value); //预加载的东西太少,为了本地看效...

来源: Laya3.0_文档 发布时间: 20251105

16. laya.ui.ColorPicker [ 49%]

...方向中心线的距离(以像素为单位)。 UIComponent  changeHandler : Handler 当颜色发生改变时执行的函数处理器。 默认返回参数color:颜色值字符串。 ColorPicker customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定...

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

17. laya.ui.Tree [ 48%]

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

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

18. laya.ui.ColorPicker_API3.0 [ 48%]

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

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

19. laya.ui.DialogManager_API3.0 [ 48%]

...roperties _extra _ownGraphics _scene _skinBaseUrl _url autoSize closeEffectHandler hitTestPrior lockLayer maskLayer mouseThrough name popupEffectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable...

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

20. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 41%]

...pFont = new Laya.BitmapFont(); bitmapFont.loadFont("res/vvv.fnt", new Laya.Handler(this, this.onFontLoaded, [bitmapFont])); } /** * 位图字体加载完成后的回调方法 * @param bitmapFont 实例后的位图字体对象 */ onFontLoaded(bitmapFont: Laya.BitmapFont): void { //如果采用系统...

来源: Laya2.0_文档 发布时间: 20210715