大约有 388 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
...olean set active(value: boolean): void Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarchy get ac...
来源: Laya3.0_api 发布时间: 20231115
2.0 beta UI Button无法获取 2.0 beta 版本创建的UI生成代码后,无法获取到Button组件。 生成后的代码: import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; export module ui { export class AttackUI extends View { public btn_attack:Laya.Button; constr...
来源: Laya_社区 发布时间: 20180926
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销...
来源: Laya2.0_api 发布时间: 20190513
...lean 派发事件。 EventDispatcher getAtlas(url:String):Array[static] 获取指定资源地址的图集地址列表。 Loader getRes(url:String):*[static] 获取指定资源地址的资源。 Loader getTypeFromUrl(url:String):String[static] 获取指定资源地址的数据类型。 Loade...
来源: Laya2.0_api 发布时间: 20190513
...到Laya.Config? [ts] 找不到名称“Laya” 为什么我焦点一直获取不到,runtime也已经写了。。可是代码不是跟视频教学的一样吗 问题状态 最新活动: 2018-08-07 16:43 浏览: 583 关注: 2 人
来源: Laya_社区 发布时间: 20180807
...lean): void Inherited 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 自身是否激活...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
...imatorStateScript | null Defined in laya/components/AnimatorState2D.ts:231 获取脚本。 Parameters type: typeof AnimatorStateScript 组件类型。 Returns AnimatorStateScript | null 脚本。 getScripts getScripts(type: typeof AnimatorStateScript): AnimatorStateScript[] | null Defined in laya/co...
来源: Laya3.0_api 发布时间: 20231115
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销...
来源: Laya2.0_api 发布时间: 20190513