大约有 436 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0090 秒)
Laya3.0_api(155) Laya2.0_api(89) Laya_社区(76) Laya3.0_文档(62) Laya2.0_文档(31) laya_api(22) Laya2.0_示例(1)
...ted from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarc...
来源: Laya3.0_api 发布时间: 20231115
... Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : Number...
来源: Laya2.0_api 发布时间: 20190513
...a.stage.height,matrix:Laya.stage._canvasTransform},isLoad:false}); }); } //激活资源版本控制 beginLoad(); } private function beginLoad():void { //加载引擎需要的资源 Laya.loader.load("res/atlas/comp.atlas", Handler.create(this, onLoaded)); } private function onLoad2():void { Laya.time...
来源: Laya_社区 发布时间: 20180525
...); sphere.transform.rotationEuler= this.tmpVector; } } //激活启动类 new PhysicsWorldBaseCollider(); 附件 : --> 2020-11-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 157*****593 赞同...
来源: Laya_社区 发布时间: 20201127
... Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : Number...
来源: Laya2.0_api 发布时间: 20190513
....Text } ) public txt: Laya.Text; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.txt.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txt.size(500, 30); //大...
来源: Laya3.0_文档 发布时间: 20251010
...0正式版的2D官方demo,在游戏控制脚本(即GameControl)未被激活的情况下,执行了onEnable和onStart里面的内容,onUpdate是正常没执行的。换成2.0测试版(即beta4)的库后是正常的。怀疑是2.0正式版的库存在问题,我之前也在社区提问...
来源: Laya_社区 发布时间: 20181106
...ted from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarc...
来源: Laya3.0_api 发布时间: 20231115
...ted from Node.active Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Inherited from Node.active Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarc...
来源: Laya3.0_api 发布时间: 20231115
...nt.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也会调用。 Returns void onAwake onAwake(): void Inherited from Component.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方...
来源: Laya3.0_api 发布时间: 20231115