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

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

1571. laya.ui.DialogManager_API3.0 [ 36%]

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

1572. 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined [ 36%]

....version/libs/laya.d3.js:15299:21) 10-15 16:43:46.702: E/LayaBox(3503): at Handler.__proto.run (http://stand.alone.versio 10-15 16:43:46.743: W/EGL_emulation(3503): eglSurfaceAttrib not implemented 10-15 16:43:46.743: W/OpenGLRenderer(3503): Failed to set EGL_SWAP_BEHAVIOR on surface 0x9e2a9f80, err...

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

1573. laya.resource.Texture2D_API3.0 [ 36%]

...lock=true的资源。 Returns void Static load load(url: string, complete: Handler): void Defined in laya/resource/Texture2D.ts:240 加载纹理 Parameters url: string 路径 complete: Handler 处理时间 Returns void Globals "laya/resource/Texture2D" Texture2D constructor _id destroyedImmediately ...

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

1574. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

...x.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); 编译运行上面的代码,然后点击舞台可以看到,二维码已经显示到了舞台上,可以用手机扫下,发现手机已经...

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

1575. 多线程worker(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 36%]

...//加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //实例UI界面 var testView:ui.test.TestPageUI = new ui.test.TestPageUI(); Laya.stage.addChild(testView); } } new LayaUISample; ``` `WorkerLoader.workerPath = ...

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

1576. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 36%]

...Info.onLoaded (http://127.0.0.1:59022/game/code.js:12995:61)     at EventHandler.__proto.runWith (http://127.0.0.1:59022/game/code.js:711:59)     at ResInfo.__proto.event (http://127.0.0.1:59022/game/code.js:483:28)     at LoaderManager.__proto._endLoad (http://127.0.0.1:59022/game/code.js:131...

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

1577. 3D中如何限制角色的行走区域? [ 36%]

...esouLoaded (/Users/admin/layaA4/layaA4/bin/js/bundle.js:8825:123)     at Handler.__proto.runWith (/Users/admin/layaA4/layaA4/bin/js/bundle.js:2162:42)     at onComplete (/Users/admin/layaA4/layaA4/bin/js/bundle.js:43827:16) 2019-07-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...

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

1578. Mesh网格-自定义网格 [ 36%]

...Event; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGLContext; import common.CameraMoveScript; import common.Tool; /** * ... * @author */ public class CustomMesh { public function CustomMesh() { Laya3D.init(0, 0, true); Lay...

来源: Laya_示例 发布时间: 20260823

1579. 单选框组容器组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...#787878,#d3d3d3,#FFFFFF"; rg.labelSize = 20; rg.labelBold = true; rg.selectHandler = new Laya.Handler(this, this.onSelectChange); this.owner.addChild(rg); return rg; } private onSelectChange(index: number): void { console.log("你选择了第 " + (index + 1) + " 项"); } } 效果如图所示: (...

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

1580. laya.d3.core.material.UnlitMaterial [ 35%]

...oneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By...

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