大约有 394 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0038 秒)
Laya_社区(158) Laya3.0_api(85) Laya3.0_文档(63) Laya2.0_api(43) laya_api(23) Laya2.0_文档(21) Laya2.0_示例(1)
...structor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath CONFIG_MOTION_TYPE_FREE CONFIG_MOTION_TYPE_LIMITED CONFIG_MOTION_TYPE_LOCKED Accessors XMotion YMotion ZMotion anchor angularBounce angularDamp angularLimitSpring angularXMotion angularYMotion ang...
来源: Laya3.0_api 发布时间: 20231115
... code中ts代码提示问题 代码提示似乎不全。。? 比如 this.owner.scene. 这里就没有提示了。 2020-02-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20200220
...啊 帮忙看看 为什么没有效果啊 let camera : Laya.Camera = this.owner.getChildByName("Main Camera") as Laya.Camera ;let postProcess:Laya.PostProcess = new Laya.PostProcess; let bloom:Laya.BloomEffect = new Laya.BloomEffect(); // bloom.color = Laya.Color.RED; bloom.intensity = 0.5; bloom.cl...
来源: Laya_社区 发布时间: 20190827
...Caller on once setParent Constructors constructor new AnimationTransform3D(owner: AnimationNode): AnimationTransform3D Defined in laya/d3/animation/AnimationTransform3D.ts:30 创建一个 Transform3D 实例。 Parameters owner: AnimationNode 所属精灵。 Returns AnimationTransform3D Methods event...
来源: Laya3.0_api 发布时间: 20231102
...s = bt.btCollisionObject_getCollisionFlags(btColObj); if (this.owner.isStatic) { if ((flags & PhysicsComponent.COLLISIONFLAGS_KINEMATIC_OBJECT) > 0) flags = flags ^ PhysicsComponent.COLLISIONFLAGS_KINEMATIC_OBJECT; flags ...
来源: Laya_社区 发布时间: 20200505
... RuntimeScript; onStart() { // 获得场景的Runtime对象 this.ui = this.owner.scene as RuntimeScript; // Button添加鼠标事件,让Image不显示 this.ui.Button.on( Laya.Event.MOUSE_DOWN, null, ()=>{ this.ui.Image.visible = false; }); } } ui 属性直接从脚本中通过 this.owner.scene ...
来源: Laya3.0_文档 发布时间: 20250217
...取这个物体身上的碰撞器就获取不到了,一直报空 (this.owner as Laya.Sprite3D).getComponent(Laya.PhysicsCollider) as Laya.PhysicsCollider;log里面也没有这个碰撞组件的信息,只有刚体和脚本的 但是把刚体去掉以后再导出,代码再去获取这个物...
来源: Laya_社区 发布时间: 20200927
...Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge TempMatrix Accessors awaked billboard bounds boundsChange castShadow cull destroyed distanceForSort enableHit enabled hideFlags id lightmapIndex lightmapScaleOffset material materials...
来源: Laya3.0_api 发布时间: 20231115
...如下代码: onAwake(): void { //侦听自定义的事件"Click" this.owner.on("Click",this,()=>{ console.log("侦听到自定义的“Click”事件"); }) } //鼠标点击后执行,发送Click事件。 onMouseClick(evt: Laya.Event): void { //自定义的事件 this.owner.event("Click"); } ...
来源: Laya3.0_文档 发布时间: 20240910
...样写? let fly = Laya.Pool.getItemByCreateFun("fly", this.fly, this); owner.addChild(fly); fly.play(0, true, "ani1"); fly() { let ani = new Laya.Animation(); ani.loadAnimation("plaen4.ani"); return ani; } 这样写是可以正常播放,但是会有这个警告 ani not found: plaen4.ani#an...
来源: Laya_社区 发布时间: 20181105