大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0055 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeRenderContext3DOBJ" NativeRenderContext3DOBJ Class NativeRenderContext3DOBJ Hierarchy NativeRenderContext3DOBJ Imp...
来源: Laya3.0_api 发布时间: 20231115
...个碰撞组件 死亡销毁就报 _nativeColliderObject 空对象错误 public function _derivePhysicsTransformation(force:Boolean):void { if(_nativeColliderObject==null)return;//我加了这个 _innerDerivePhysicsTransformation(_nativeColliderObject.getWorldTransform(), force); } 附件 : --> 2019...
来源: Laya_社区 发布时间: 20190119
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeVertexBuffer3D" NativeVertexBuffer3D Class NativeVertexBuffer3D Hierarchy VertexBuffer3D NativeVertexBuffer3D Inde...
来源: Laya3.0_api 发布时间: 20231115
...真正的私有变量 ------------------------------- TS 的权限修饰 public private 只是编译器约束,用TS编译好JS给别人用,都是挂在this或原型上,private 不应该是闭包域里的普通变量么 附件 : --> 2019-02-25 添加评论 免费帖 --> 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20190225
请教Laya.timer.once如何设置回调参数 看到API文档上描述是 public function once(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 但是照这个写了 Laya.timer.once(800,this,sh,[1,3,4]) 之后,在回调函数sh 里面 收到的不是数组...
来源: Laya_社区 发布时间: 20170827
...? @prop {name:pgs, type:Node} 还有type:Node, 既然代码定义都是public pgs: Laya.Node; 为什么不直接type:Laya.Node,很多新手不仔细对比文档容易犯错吧,上手慢。 2018-12-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20181226
...何反应(BoxCollider在unity也确实编辑在MeshSprite3D物体上) public onTriggerStay(other: Laya.Collider): void{ console.log("触发:onTriggerEnter"); } (忽略了Rigidbody); 2018-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20180716
...port laya.utils.Handler; import laya.utils.Utils; import laya.webgl.WebGL; public class UI_Tree { public function UI_Tree() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; //画布水平居中对齐 Laya.stage...
来源: Laya2.0_文档 发布时间: 20210715
...是可以通过SoundChannel.soundTransform.volume去设置 示例如下: public function init(e:Event):void { var sound:Sound=new Sound(); sound.load(new URLRequest("xxx.xxx.xxx")); var sc:SoundChannel=sound.play(); var st:SoundTransform=new SoundTransform(); st.volume=0.5; sc.soundTransform=s...
来源: Laya_社区 发布时间: 20160311
...用的别名", tips: "这是一个文本对象,只能输入文本哦" }) public text1: string = ""; //装饰器属性类型的简写方式,适用于只定义类型的需求 @property(String) public text2: string = ""; } } @property()是IDE识别组件属性并显示到IDE属性面板上的装饰...
来源: Laya3.0_文档 发布时间: 20251010