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

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

721. laya里的相机镜头 与u3的插件里的不一致, [ 60%]

...: Laya.Scene3D.load("LayaScene_game_scene/Conventional/game_scene.ls",Laya.Handler.create(this,function (scene) {             Laya.stage.addChild(scene); } 我这样导入场景,不new相机,就是在unity运行时什么样LayaBox运行也什么样 如果你在Laya中又重新new了相...

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

722. 多光源渲染(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 60%]

...ne3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Handler.create(this, function (scene: Scene3D): void { //添加到场景 Laya.stage.addChild(scene); var camera: Camera = scene.getChildByName("Main Camera") as Camera; camera.addComponent(CameraMoveScript); camera.transform....

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

723. 在Unity中导出拖尾系统(JavaScript-3D基础(JS)-LayaAir3D之拖尾系统) [ 60%]

...载拖尾 Laya.Sprite3D.load('LayaScene_tst/Conventional/Sphere.lh',Laya.Handler.create(this,function(sp){ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影机观察效果 Laya.timer.frameLoop(1,this,function(){ //使用差速来体现移...

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

724. 在Unity中导出拖尾系统(TypeScript-3D基础(TS)-LayaAir3D之拖尾系统) [ 60%]

...载拖尾 Laya.Sprite3D.load('LayaScene_tst/Conventional/Sphere.lh',Laya.Handler.create(this,function(sp){ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影机观察效果 Laya.timer.frameLoop(1,this,function(){ //使用差速来体现移...

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

725. Panel滚动条滑块位于最下方 [ 59%]

...oader.load([{url:"res/atlas/comp.json",type:Loader.ATLAS},{url:"bg2.png"}],Handler.create(this,onCom)); } private function onCom():void { var img:Image=new Image(); img.skin="bg2.png"; panel=new Panel(); panel.vScrollBarSkin="comp/vscroll.png"; panel.width=300; panel.height=300; Laya.stage.addChild(...

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

726. 用javascript如何实现游戏登录游戏前的资源加载进度,如何将图片,音乐等素材加载到界面通过加载条显示加载进度 [ 59%]

...aya.loader.load([{ url: "res/ui/LoadProgress.fui", type: Loader.BUFFER }], Handler.create(this, this.loadProgress)) this.token = token; } public loadProgress() { this.progressUI = UIBase.create(LoadProgress.UI_LoadProgress, "LoadProgress", LoadProgress.LoadProgressBinder.bindAll) this.progressUI.UIM...

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

727. 使用getChildByName()无法得到子节点对象 [ 59%]

...用getChildByName()无法得到子节点对象    page2._list.renderHandler = new Handler(this, onRender);         function onRender(cell,index){             //如果索引不再可索引范围,则终止该函数             if(index > json.length)return; ...

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

728. Sprite3D的克隆(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 59%]

...ya.loader.create("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, this.onComplete)); } //完成回调 onComplete() { //获取资源 var layaMonkey = this.scene.addChild(Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); //克隆sprite3d var layaMo...

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

729. UI加载完成后无法获取控件的大小——超详细版问题 [ 59%]

...:import test = ui.test.TestPageUI; import Label = laya.ui.Label; import Handler = laya.utils.Handler; import Loader = laya.net.Loader; import Stage = laya.display.Stage; class TestUI extends ui.test.testwhUI { constructor() { super(); this.mypan.vScrollBarSkin = ""; Laya.stage.on(Laya.Event.RESIZE...

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

730. Dialog用法——弹出回调 [ 59%]

...量加载json文件,然后等这些文件统一加载完后回调 Laya.Handler.create 加载图片回调参数问题 Dialog限制拖动区域有什么方法 const 用法 能否恢复Animation.getGraphicBounds在1.6时的用法 问题状态 最新活动: 2017-08-14 14:02 浏览: 942 关注: 2 人

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