C# Class DPLoadScreen, ProjetUnity

Inheritance: MonoBehaviour
Afficher le fichier Open project: MartinsDavid/ProjetUnity

Méthodes publiques

Свойство Type Description
Progress int

Méthodes publiques

Méthode 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

Méthode Description
doLoadLevel ( string name, string customLoadScene, bool manualActivation ) : IEnumerator

Method Details

ActivateScene() public méthode

Activates the scene when you are
public ActivateScene ( ) : void
Résultat void

LoadLevel() public méthode

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)
Résultat void

LoadLevel() public méthode

public LoadLevel ( string levelName, string customLoadScene ) : void
levelName string
customLoadScene string
Résultat void

Property Details

Progress public_oe property

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