Fade helpers
More...
|
static IEnumerator | FadeImage (Image target, float duration, Color color) |
| Fades the specified image to the target opacity and duration. More...
|
|
static IEnumerator | FadeText (Text target, float duration, Color color) |
| Fades the specified image to the target opacity and duration. More...
|
|
static IEnumerator | FadeSprite (SpriteRenderer target, float duration, Color color) |
| Fades the specified image to the target opacity and duration. More...
|
|
static IEnumerator | FadeCanvasGroup (CanvasGroup target, float duration, float targetAlpha, bool unscaled=true) |
|
◆ FadeCanvasGroup()
static IEnumerator MoreMountains.Tools.MMFade.FadeCanvasGroup |
( |
CanvasGroup |
target, |
|
|
float |
duration, |
|
|
float |
targetAlpha, |
|
|
bool |
unscaled = true |
|
) |
| |
|
static |
◆ FadeImage()
static IEnumerator MoreMountains.Tools.MMFade.FadeImage |
( |
Image |
target, |
|
|
float |
duration, |
|
|
Color |
color |
|
) |
| |
|
static |
Fades the specified image to the target opacity and duration.
- Parameters
-
target | Target. |
opacity | Opacity. |
duration | Duration. |
◆ FadeSprite()
static IEnumerator MoreMountains.Tools.MMFade.FadeSprite |
( |
SpriteRenderer |
target, |
|
|
float |
duration, |
|
|
Color |
color |
|
) |
| |
|
static |
Fades the specified image to the target opacity and duration.
- Parameters
-
target | Target. |
opacity | Opacity. |
duration | Duration. |
◆ FadeText()
static IEnumerator MoreMountains.Tools.MMFade.FadeText |
( |
Text |
target, |
|
|
float |
duration, |
|
|
Color |
color |
|
) |
| |
|
static |
Fades the specified image to the target opacity and duration.
- Parameters
-
target | Target. |
opacity | Opacity. |
duration | Duration. |
The documentation for this class was generated from the following file:
- E:/Github/Store/NiceTouchStore/Assets/NiceTouch/Common/Scripts/MMTools/MMHelpers/MMFade.cs