Property | Type | Description | |
---|---|---|---|
doFade | bool |
Method | Description | |
---|---|---|
FadeIn ( ) : void | ||
LoadScene ( int levelIndex, bool doFadeInOut = true ) : void | ||
LoadScene ( string levelName, bool doFadeInOut = true ) : void | ||
Start ( ) : void |
Set it up, mainly UI panel used for fading
|
Method | Description | |
---|---|---|
FadeInCoroutine ( ) : IEnumerator | ||
LoadByIndexWithFadeOut ( int levelIndex ) : IEnumerator |
Coroutine for fading out and loading level by index
|
|
LoadWithFadeOut ( string levelName ) : IEnumerator |
Coroutine for fading out and loading level
|
public LoadScene ( int levelIndex, bool doFadeInOut = true ) : void | ||
levelIndex | int | |
doFadeInOut | bool | |
return | void |
public LoadScene ( string levelName, bool doFadeInOut = true ) : void | ||
levelName | string | |
doFadeInOut | bool | |
return | void |