C# Class DPLoadScreen, ProjetUnity

Inheritance: MonoBehaviour
ファイルを表示 Open project: MartinsDavid/ProjetUnity

Public Properties

Property Type Description
Progress int

Public Methods

Method Description
ActivateScene ( ) : void

Activates the scene when you are

LoadLevel ( string levelName, bool manualSceneActivation = false, string customLoadScene = "LoadScreen" ) : void

Loads the level with a custom loading screen.

LoadLevel ( string levelName, string customLoadScene ) : void

Private Methods

Method Description
doLoadLevel ( string name, string customLoadScene, bool manualActivation ) : IEnumerator

Method Details

ActivateScene() public method

Activates the scene when you are
public ActivateScene ( ) : void
return void

LoadLevel() public method

Loads the level with a custom loading screen.
public LoadLevel ( string levelName, bool manualSceneActivation = false, string customLoadScene = "LoadScreen" ) : void
levelName string Level name to load.
manualSceneActivation bool If set to true, when the loading is complete, you must call ActivateScene() to continue.
customLoadScene string Custom Loading Scene name. (optional)
return void

LoadLevel() public method

public LoadLevel ( string levelName, string customLoadScene ) : void
levelName string
customLoadScene string
return void

Property Details

Progress public_oe property

Return the percentagem of the loading. The value is between 0-1.
public int Progress
return int