Scenes

Scenes

Classes

SceneManager
ScenePlugin
Systems

Namespaces

Events
Settings

Members

(static, readonly) CREATING :number

Since:
  • 3.0.0
场景状态.
Type:
  • number

(static, readonly) DESTROYED :number

Since:
  • 3.0.0
场景状态.
Type:
  • number

(static, readonly) INIT :number

Since:
  • 3.0.0
场景状态.
Type:
  • number

(static, readonly) LOADING :number

Since:
  • 3.0.0
场景状态.
Type:
  • number

(static, readonly) PAUSED :number

Since:
  • 3.0.0
场景状态.
Type:
  • number

(static, readonly) PENDING :number

Since:
  • 3.0.0
场景状态.
Type:
  • number

(static, readonly) RUNNING :number

Since:
  • 3.0.0
场景状态.
Type:
  • number

(static, readonly) SHUTDOWN :number

Since:
  • 3.0.0
场景状态.
Type:
  • number

(static, readonly) SLEEPING :number

Since:
  • 3.0.0
场景状态.
Type:
  • number

(static, readonly) START :number

Since:
  • 3.0.0
场景状态.
Type:
  • number

Methods

(static) GetPhysicsPlugins(sys) → {array}

Since:
  • 3.0.0
为给定场景创建一个物理插件数组.
Parameters:
Name Type Description
sys Phaser.Scenes.Systems 场景系统来获取物理系统.
Returns:
为这个场景开始的一系列物理系统.
Type
array

(static) GetScenePlugins(sys) → {array}

Since:
  • 3.0.0
为给定场景创建一个应该激活哪些插件(不包括物理插件)的数组.
Parameters:
Name Type Description
sys Phaser.Scenes.Systems 场景系统对象检查插件.
Returns:
应该激活的所有插件的数组,可以是默认的,也可以是场景系统对象中配置的.
Type
array