大约有 112 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0042 秒)
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Defined in laya/d3/physics/constraints/ConstraintComponent.ts:81 连接的两个物体是否进行碰撞检测 owner owner...
来源: Laya3.0_api 发布时间: 20231115
...).then((res)=> {/** 不带类型,用于常规的资源 */}); 完整的脚本示例如下: const { regClass, property } = Laya; @regClass() export class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相...
来源: Laya3.0_文档 发布时间: 20240910
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/WheelJoint.ts:18 [首次设置有效]关节的链接点,是相对于自身刚体的左上角位置偏移 axis axis: any[] = [1, 0] Defined in laya/phy...
来源: Laya3.0_api 发布时间: 20231115
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node...
来源: Laya3.0_api 发布时间: 20231115
...rol 2.2.0beta 在AirIDE下创建好场景后,在场景runtime属性里挂脚本之后,运行就报这个错 注:我是有F12导出代码的,而且看了GameConfig.as里有生成 reg("script.LoginControl",LoginControl); 这段代码 2019-08-05 添加评论 免费帖 --> 分享 微博...
来源: Laya_社区 发布时间: 20190805
...or.on is not a function Laya2.1.0 JS调用Java PlatformClass undefined .bat脚本能调用layaIDE的相关功能吗? Laya 2.7.0beta Scene与脚本的onAwake()与onEnable()调用时机存在问题 laya2.0调用scene.gc方法,再次加载同一份资源时候,会导致gpu内存不断增加! ...
来源: Laya_社区 发布时间: 20200509
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Inherited from Light.color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node...
来源: Laya3.0_api 发布时间: 20231115
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 disableCollisionsBetweenLinkedBodies disableCollisionsBetweenLinkedBodies: boolean = true Inherited from ConstraintComponent.disableCollisionsBetweenLinkedBodies Defined in laya/d3/physics/constraints/ConstraintC...
来源: Laya3.0_api 发布时间: 20231115
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Comp...
来源: Laya3.0_api 发布时间: 20231115
...s/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 intensity intensity: number Defined in laya/d3/component/Volume/VolumetricGI/VolumetricGI.ts:55 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点...
来源: Laya3.0_api 发布时间: 20231115