Свойство | Type | Description | |
---|---|---|---|
m_BackgroundStyle | GUIStyle | ||
m_CurrentScreenOverlayColor | Color | ||
m_DeltaColor | Color | ||
m_FadeDelay | float | ||
m_FadeGUIDepth | int | ||
m_FadeTexture | Texture2D | ||
m_OnFadeFinish | Action | ||
m_TargetScreenOverlayColor | Color |
Свойство | Type | Description | |
---|---|---|---|
SetScreenOverlayColor | void |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
Die ( ) : void | ||
OnApplicationQuit ( ) : void | ||
OnGUI ( ) : void | ||
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 | |
---|---|---|
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 | |
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 | |
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 | |
fadeDuration | float | /// Fade duration. /// |
fadeDelay | float | /// Fade delay. /// |
OnFadeFinish | Action | /// On fade finish, doWork(). /// |
Résultat | void |
public Color m_CurrentScreenOverlayColor | ||
Résultat | Color |