大约有 874 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/ColliderBase.ts:27 [只读]刚体引用 Optional runInEditor runInEditor: boolean Inherited from Component...
来源: Laya3.0_api 发布时间: 20231115
...Show Inherited Public Properties PropertyDefined By canCollideWith : int 获取可碰撞的碰撞组。 PhysicsComponent canScaleShape : Boolean = true 是否可以缩放Shape。 PhysicsComponent ccdMotionThreshold : Number 取用于连续碰撞检测(CCD)的速度阈值,当物体移动速度小...
来源: Laya2.0_api 发布时间: 20190513
...S Code 的语言服务(2.1.5)。可能出现不一致的编译错误 怎样获取浏览器地址传过来的GET参数 自从layaflash起,就一直存在的bug 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 关於文档丶API丶Demo若有异动 1...
来源: Laya_社区 发布时间: 20180930
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
Laya2.0 3D刚体获取不了totalForce 调试中totalForce和totalTorque都是TypeError,而我现在迫切需要这两个字段。。 附件 : --> ForceTest.zip 2019-06-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 ...
来源: Laya_社区 发布时间: 20190617
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...加好的Image拖入到@property暴露的Image属性入口中,这样就获取到了此节点,然后可以在脚本中使用代码控制Image的属性了。 (动图2-3) 代码中使用属性参考《组件属性的代码使用》。 2.5.2 自定义对象类型 自定义对象类型,就是...
来源: Laya3.0_文档 发布时间: 20251010
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
获取sprite对象的 width和height为0 /** * 船 */ class Boat extends Laya.Sprite { private bt:Laya.Sprite; constructor() { super() this.bt = new Laya.Sprite() this.bt.loadImage("res/boat.png") this.addChild(this.bt) } } /** * 游戏背景 */ class BackGround extends Laya.Sprite { //背景图 ...
来源: Laya_社区 发布时间: 20160804
...是错了? laya2.1.0版本conchMarket和IMarket接口去哪了? 怎样获取浏览器地址传过来的GET参数 请教下微信小游戏的内存和数据缓存? Animation 的createFrames 使用已经加载的图集缓存动画失败 请问下loader如何强制加载一个文件,避免浏...
来源: Laya_社区 发布时间: 20171113