大约有 394 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0043 秒)
...2-15 1 0 分享 微博 QZONE 微信 小声飞 赞同来自: 直接用这个scene 的实例 .show.play(0) 就行了 比如 var ss:soldieritem =new soldieritem(); ss.show.play(0); 可以添加 监听函数 监听动画播放结束 ss.show.on(Event.COMPLETE, this, onAnimComplete); good luck...
来源: Laya_社区 发布时间: 20190215
...r的问题 LAYA2.0.0beata2使用场景编辑器无法通过var属性调用 scene添加View,view里面标记的var信息会丢失 请问laya2.0的子页面嵌套,var变量如何引用 场景设置UIView的var属性不起作用 var mid=method.$_TID || (method.$_TID=(this._mid++)*100000); 定义了...
来源: Laya_社区 发布时间: 20170623
... { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.li...
来源: Laya_社区 发布时间: 20170215
...Json02 (http://10.251.141.146:8900/bin ... 837:23) at Function._parseScene (http://10.251.141.146:8900/bin ... 868:39) at _onHierarchyInnerFirstLevResouLoaded (http://10.251.141.146:8900/bin ... 892:67) ==JSERROR: http://10.251.141.146:8900/bin ... :439: TypeError: bt.btBvhTriangleMesh...
来源: Laya_社区 发布时间: 20230715
...现 试图访问该方法时失败 单个场景加载的时候,使用的Scene3D.load方法的第一个例子,地面部分是白色的 Laya.Scene.open打开的对话框中如何在关闭的时候调用父Scene中的方法 求让Particle2D的粒子能从最开始的地方播放的方法!! onOp...
来源: Laya_社区 发布时间: 20180621
...写的啊 u3d5.6.6 插件也是下的1.x bpmf_d • 2019-05-15 11:52 var scene: Laya.Scene = Laya.Scene.load("LayaScene_01/loveScene.ls"); 你试试这个能行么 先不写多余参数 Laya.loader.create("res/Cube.ls",Laya.Handler.create(this,this.completeHandler));
来源: Laya_社区 发布时间: 20190515
...aught (in promise) DOMException: play() 运行报错 Uncaught Can not find scene:GameView.scene undefined Uncaught TypeError: Cannot read property 'props' of undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错...
来源: Laya_社区 发布时间: 20180308
...node.name); node.destroyChildren(); } 以上两种写法都会报错 at Scene3D.__proto._update (file:///D:/minigame/throwball/bin/libs/laya.d3.js:34104:15) at Stage.__proto.render (file:///D:/minigame/throwball/bin/libs/laya.core.js:31069:23) at Stage.__proto._loop (file:///D:/minigame/thr...
来源: Laya_社区 发布时间: 20191119
...们的自定义材质。 ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))); //为了更好的表现该自定义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建...
来源: Laya2.0_文档 发布时间: 20210715
...aught (in promise) DOMException: play() 运行报错 Uncaught Can not find scene:GameView.scene undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Cannot read property 'props' of undefine...
来源: Laya_社区 发布时间: 20181018