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

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

201. Laya3D场景加载问题 [ 52%]

...ate/Conventional/Test.ls",     ];     constructor() { super(); }     onAwake(): void {         Laya.loader.create(this.resource, Laya.Handler.create(this, this.onPreLoadFinish));     }     onPreLoadFinish() {         //初始化3D场景         let test = Laya.Loader.getRes("ga...

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

202. 屏幕配適正確方式為何? 官方的範例貼回到自己的代碼裡呈現的不同? [ 52%]

...3 人 Min • 2019-09-10 14:36 請問網站示的適配是寫在onStart 或onAwake裡面嗎? 好像是這部分影響 web的顯示... Laya_Aaron • 2019-09-10 18:50 @Min:是在Laya.init() 引擎初始化之后,紧接着就是屏幕适配代码 Min • 2019-09-12 10:05 @Laya_Aaron 主要我想要...

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

203. laya.physics.joint.PulleyJoint [ 52%]

...d Methods MethodDefined By  _createJoint():void[override] PulleyJoint _onAwake():void[override] JointBase _onDisable():void[override] JointBase _onEnable():void[override] JointBaseProperty DetailcollideConnectedpropertypublic var collideConnected:Boolean = false[首次设置有效]两个刚体...

来源: Laya2.0_api 发布时间: 20190513

204. laya.physics.joint.DistanceJoint [ 51%]

...Methods MethodDefined By  _createJoint():void[override] DistanceJoint _onAwake():void[override] JointBase _onDisable():void[override] JointBase _onEnable():void[override] JointBaseProperty DetailcollideConnectedpropertypublic var collideConnected:Boolean = false[首次设置有效]两个刚体...

来源: Laya2.0_api 发布时间: 20190513

205. laya.d3.core.MeshSprite3D_API3.0 [ 51%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new MeshSpr...

来源: Laya3.0_api 发布时间: 20231115

206. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 51%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new ShuriKe...

来源: Laya3.0_api 发布时间: 20231115

207. 请问Laya如何使用第三方物理库 [ 51%]

...B: (s: Laya.Sprite3D) => void; public ignoreRotate: boolean = false; ...OnAwake里面创建CANNON.Body, OnEnable里面把CANNON.Body加入到CANNON.World, OnDisable则移除, onUpdate里面根据CANNONBody的信息更新(this.owner as Laya.MeshSprite).transfrom.(最好用插值,平滑点,四元...

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

208. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 51%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new Skinned...

来源: Laya3.0_api 发布时间: 20231115

209. laya.d3.core.trail.TrailSprite3D_API3.0 [ 51%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new TrailSp...

来源: Laya3.0_api 发布时间: 20231115

210. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 51%]

...lag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new SimpleS...

来源: Laya3.0_api 发布时间: 20231115