大约有 306 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
...](img/3-2.png) (图3-2) 通过代码设置触发器的方式: ```typescript /* ……省略若干代码 */ //创建盒型MeshSprite3D let box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))) as Laya.MeshSprite3D; //创建静态碰撞器 let staticCollider:Laya....
来源: Laya2.0_文档 发布时间: 20210715
...E 微信 苏栢 赞同来自: 给摄像机一个单独的脚本跟随吧 Script3d 的update 和平常的update好像不是一个 2019-03-25 0 1 分享 微博 QZONE 微信 CodeFarmer 赞同来自: 这里看吧 2021-03-31 0 0 分享 微博 QZONE 微信 CodeFarmer 赞同来自: 看图找d3.js 20...
来源: Laya_社区 发布时间: 20190318
...是因为什么? 真机调试报错:LayaPlayer不支持的标签</SCRIPT> laya2 发布微信开放域工程,用微信开发者工具打开报错 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 关于发布oppo、vivo快游戏,无法...
来源: Laya_社区 发布时间: 20190426
...archKey":"Dialog", "props":{"width":1624,"sceneColor":"#000000","runtime":"script/view/dialogs/SettingDialog.js","height":750}, "nodeParent":-1, "maxID":4, "label":"Dialog", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":2, "child":[ { "x":15, "type":"Image", "searchK...
来源: Laya_社区 发布时间: 20200417
...DOMException: play() 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 问题状态 最新活动: 2019-08-19 10:50 浏览: 2406 关注: 3 人 StevenMiao • 2019-08-16 13:41 谢谢!替换之后可以了。 关于透传我还有一点疑惑:以后的Laya都要使用现在这种透...
来源: Laya_社区 发布时间: 20190814
...shRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. n.a (UnityEngine.SkinnedMeshRenderer A_0, System.String A_1, System.Boolean A_2) (at <f23f19a62c944610ba98639869d48a79>:0) n.b () (at <f2...
来源: Laya_社区 发布时间: 20210607
... 大大大懒猫 • 2018-09-10 10:39 export class ShopTitle extends Laya.Script{ public title: string; constructor(){ super(); } public _initialize(owner: Laya.Sprite3D): void { super._initialize(owner); var sprite3D = this.owner as Laya.MeshSprite3D; var sprite3DMat = new Laya.StandardMaterial(); ...
来源: Laya_社区 发布时间: 20180814
...连接不上socket 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 真机环境找不到window---cant find variable: window stack 关于apk打包动画卡的问题 1.8.4版本打包vivo小游戏,只有个temprelease 项目分包后, 运行出错 打包出来后的APP打开加载...
来源: Laya_社区 发布时间: 20180108
....transform.rotate(new Laya.Vector3(0, 0.9, 0)); obj.addComponent(BoxControlScript); //旋转方向与角度设置 //var vect = new Laya.Vector3(0,1,0); //每10毫秒旋转一次 //Laya.timer.loop(10,null,function(){ //obj.transform.rotate(vect,false,false); //}); })); })); })(this); class BoxControl...
来源: Laya_社区 发布时间: 20200611
...动进入触发器的生命周期。 2.4.4 使用生命周期方法 创建Script3D脚本 生命周期的方法,只能在脚本类里使用,所以,我们需要创建一个脚本,3D游戏必须要继承3D的脚本Script3D。空脚本的示例代码如下: /** * TypeScript语言的3D脚本示...
来源: Laya3.0_文档 发布时间: 20251010