静态
add静态
addThe initialization function of the module.
静态
addThe initialization function of the module.
静态
add静态
alertIndicates whether to capture global errors and display a prompt. When set to true, detailed error stacks can be thrown in a pop-up window if unknown errors occur. The default is false.
静态
import静态
init可选
stageConfig: IStageConfigStage settings used to initialize the engine
静态
initSettings used to initialize 2D rendering.
En
Laya is the reference entry for global objects.
En
The Laya class refers to some commonly used global objects, such as Laya.stage: stage, Laya.timer: time manager, Laya.loader: loading manager. Pay attention to case when using.
Zh
Laya是全局对象的引用入口集。
Zh
Laya类引用了一些常用的全局对象,比如Laya.stage:舞台,Laya.timer:时间管理器,Laya.loader:加载管理器,使用时注意大小写。