Свойство | Type | Description | |
---|---|---|---|
m_BackgroundStyle | GUIStyle | ||
m_CurrentScreenOverlayColor | Color | ||
m_DeltaColor | Color | ||
m_FadeDelay | float | ||
m_FadeGUIDepth | int | ||
m_FadeTexture | |||
m_OnFadeFinish | Action | ||
m_TargetScreenOverlayColor | Color |
Свойство | Type | Description | |
---|---|---|---|
Awake | void | ||
Die | void | ||
OnApplicationQuit | void | ||
OnGUI | void | ||
SetScreenOverlayColor | void |
Méthode | Description | |
---|---|---|
StartAlphaFade ( Color newScreenOverlayColor, bool isFadeIn, float fadeDuration ) : void |
Starts the fade from color newScreenOverlayColor. If isFadeIn, start fully opaque, else start transparent.
|
|
StartAlphaFade ( Color newScreenOverlayColor, bool isFadeIn, float fadeDuration, float fadeDelay ) : void |
Starts the fade from color newScreenOverlayColor. If isFadeIn, start fully opaque, else start transparent, after a delay.
|
|
StartAlphaFade ( Color newScreenOverlayColor, bool isFadeIn, float fadeDuration, float fadeDelay, Action OnFadeFinish ) : void |
Starts the fade from color newScreenOverlayColor. If isFadeIn, start fully opaque, else start transparent, after a delay, with Action OnFadeFinish.
|
|
init ( ) : void |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
Die ( ) : void | ||
OnApplicationQuit ( ) : void | ||
OnGUI ( ) : void | ||
SetScreenOverlayColor ( Color newScreenOverlayColor ) : void |
Sets the color of the screen overlay instantly. Useful to start a fade.
|
public static StartAlphaFade ( Color newScreenOverlayColor, bool isFadeIn, float fadeDuration ) : void | ||
newScreenOverlayColor | Color | /// Target screen overlay Color. /// |
isFadeIn | bool | /// Whether to fade in or out. /// |
fadeDuration | float | /// Fade duration. /// |
Résultat | void |
public static StartAlphaFade ( Color newScreenOverlayColor, bool isFadeIn, float fadeDuration, float fadeDelay ) : void | ||
newScreenOverlayColor | Color | /// New screen overlay color. /// |
isFadeIn | bool | /// Whether to fade in or out. /// |
fadeDuration | float | /// Fade duration. /// |
fadeDelay | float | /// Fade delay. /// |
Résultat | void |
public static StartAlphaFade ( Color newScreenOverlayColor, bool isFadeIn, float fadeDuration, float fadeDelay, Action OnFadeFinish ) : void | ||
newScreenOverlayColor | Color | /// New screen overlay color. /// |
isFadeIn | bool | /// Whether to fade in or out. /// |
fadeDuration | float | /// Fade duration. /// |
fadeDelay | float | /// Fade delay. /// |
OnFadeFinish | Action | /// On fade finish, doWork(). /// |
Résultat | void |
public Color m_CurrentScreenOverlayColor | ||
Résultat | Color |
public Texture2D,UnityEngine m_FadeTexture | ||
Résultat |