• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 265 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0122 秒)

201. UI运行时 · LayaAir3.0文档 · LAYABOX [ 55%]

...Awake(): void { } /** * 组件被启用后执行,比如节点被添加到舞台后 * 此方法为虚方法,使用时重写覆盖即可 */ onEnable(): void { } /** * 组件被禁用时执行,比如节点舞台移除后 * 此方法为虚方法,使用时重写覆盖即可 */ onDisable(): ...

来源: Laya3.0_文档 发布时间: 20240624

202. laya.physics.PolygonCollider_API3.0 [ 55%]

...a/components/Component.ts:312 组件被禁用时执行,比如节点舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...

来源: Laya3.0_api 发布时间: 20231115

203. laya.ui.View_API3.0 [ 54%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

来源: Laya3.0_api 发布时间: 20231115

204. laya.ui.ProgressBar_API3.0 [ 54%]

...,设置了它的皮肤、位置、宽高、网格等信息,并添加到舞台上。 package { import laya.ui.ProgressBar; import laya.utils.Handler; public class ProgressBar_Example { private var progressBar:ProgressBar; public function ProgressBar_Example() { Laya.init(640, 800);//设置游戏...

来源: Laya3.0_api 发布时间: 20231115

205. laya.physics.ChainCollider_API3.0 [ 54%]

...a/components/Component.ts:312 组件被禁用时执行,比如节点舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...

来源: Laya3.0_api 发布时间: 20231115

206. laya.display.Stage_API3.0 [ 54%]

...Only exported Menu Globals "laya/display/Stage" Stage Class Stage Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不同的画布大小,画布越大,渲染压...

来源: Laya3.0_api 发布时间: 20231115

207. laya.display.Animation_API3.0 [ 54%]

...放,默认为false。如果设置为true,则动画被创建并添加到舞台后自动播放。 Returns boolean Defined in laya/display/Animation.ts:238 是否自动播放,默认为false。如果设置为true,则动画被创建并添加到舞台后自动播放。 Parameters value: boolean Re...

来源: Laya3.0_api 发布时间: 20231115

208. laya.ui.Image_API3.0 [ 54%]

...新的 Image 实例,设置了它的皮肤、位置信息,并添加到舞台上。 package { import laya.ui.Image; public class Image_Example { public function Image_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onIni...

来源: Laya3.0_api 发布时间: 20231115

209. laya.ui.UIComponent_API3.0 [ 54%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

来源: Laya3.0_api 发布时间: 20231115

210. laya.ui.Clip_API3.0 [ 53%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

来源: Laya3.0_api 发布时间: 20231115