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

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

881. 使用百度地图显示当前位置(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 42%]

...t.body.appendChild(this.mapDiv); // 适应窗口尺寸 this.refit(); Laya.stage.on(Laya.Event.RESIZE, this, this.refit); // 初始化地图 this.map = new this.BMap.Map(this.mapDiv); // 禁用部分交互 //this.map.disableDragging(); this.map.disableKeyboard(); this.map.disableScrollWheelZoom();...

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

882. 淘宝创意互动分包指南(TypeScript-小游戏适配文档-淘宝创意互动) [ 42%]

...者需要自己去加载分包和资源 ``` onConfigLoaded(): void { Laya.stage.on(Laya.Event.CLICK, this, this.toPage2) } toPage2(): void { my.redirectTo({ url: "/subpackage1/page2/index", success: function () { console.log("success") }, fail: function (err) { console.log("2222", err) } }) } ``` ...

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

883. Shader预编译(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 41%]

...例改自官方边缘光照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function():void{ let arr; for(let i = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "defineNames":["D...

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

884. Shader预编译(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 41%]

...例改自官方边缘光照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function():void{ var arr:Array; for(var i:int = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "define...

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

885. unity中的模型导出后在laya中显示不正常 [ 40%]

...然你也可以继续在laya中对camera进行操作: var scene = Laya.stage.addChild(Laya.Scene.load("res/layaScene.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function (sceneTemp) { var camera = sceneTemp.getChildByName("Main Camera"); camera.transform.translate(new Laya.Vector3(0, 0, 2...

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

886. 使用3DUI · LayaAir3.0文档 · LAYABOX [ 36%]

...e { onAwake(): void { this.bar.value = 1; this.value.visible = false; Laya.stage.on( Laya.Event.CLICK, this, this.onHurt ); } onHurt(): void { this.bar.value = this.bar.value - 0.1; this.value.y = 35; this.value.visible = true; Main.instance.animator.play("Stun"); Laya.Tween.to( this.value, { y : -2...

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

887. LayaAir引擎工具会员专属功能介绍(TypeScript-简介篇(TS)-LayaAir引擎简介) [ 32%]

...mp.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("test/test.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya....

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

888. 父物体旋转会导致子物体的世界坐标系不正确?(附demo) [ 30%]

...ame("MoveBlockPivot").getChildByName("TargetGuard") as Laya.Sprite3D; Laya.stage.on(Laya.Event.KEY_PRESS, this, this.KeyPress); this.pivot = s.getChildByName("target_root").getChildByName("PendulumCircleTarget").getChildByName("MoveBlockPivot") as Laya.Sprite3D; let newRot = new Laya.Quaternion(0, 0...

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

889. lib/arm/liblayaair.so 总是崩溃 [ 27%]

...so     M EF6AE000 00000000 0000E000 AD12F266E11C52CE47A48142E9D9E4B60 libstagefright_amrnb_common.so     M EF6BB000 00000000 00022000 F4EED9E0DBCD0039613199B23DA49AD50 libexif.so     M EF6EA000 00000000 00015000 9DF5297991EBB31404CF11CD9C34AA6B0 libmtp.so 08-14 10:57:49.249 22858-22354/? A/goo...

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

890. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 19%]

...mmc 赞同来自: ls场景文件通过Laya.loader.create()预加载后Laya.stage.destroyChildren()出现异常Cannot read property 'visible' of null。 问题详情见:https://ask.layabox.com/question/5103 2017-06-15 0 1 分享 微博 QZONE 微信 150*****372 赞同来自: 目前,使用最新版...

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