大约有 442 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0192 秒)
Laya3.0_api(155) Laya2.0_api(89) Laya_社区(78) Laya3.0_文档(66) Laya2.0_文档(31) laya_api(22) Laya2.0_示例(1)
...any[]; private dialog: Laya.Dialog; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // 图片资源来自“引擎API使用示例” this.assets = ["resources/res/ui/dialog (1).png", "resources/res/ui...
来源: Laya3.0_文档 发布时间: 20251024
...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
... int获取最大粒子数。ShurikenParticleSystem playOnAwake : Boolean激活时是否自动播放。ShurikenParticleSystem prewarm : Boolean是否预热。暂不支持ShurikenParticleSystem randomizeRotationDirection : Number随机旋转方向,范围为0.0到1.0ShurikenParticleSystem ...
来源: Laya2.0_api 发布时间: 20190513
...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