C# Класс DPLoadScreen, ProjetUnity

Наследование: MonoBehaviour
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Progress int

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
doLoadLevel ( string name, string customLoadScene, bool manualActivation ) : IEnumerator

Описание методов

ActivateScene() публичный Метод

Activates the scene when you are
public ActivateScene ( ) : void
Результат void

LoadLevel() публичный Метод

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)
Результат void

LoadLevel() публичный Метод

public LoadLevel ( string levelName, string customLoadScene ) : void
levelName string
customLoadScene string
Результат void

Описание свойств

Progress публичное свойство

Return the percentagem of the loading. The value is between 0-1.
public int Progress
Результат int