|
| | MMFadeOutEvent (float duration, MMTweenType tween, int id=0, bool ignoreTimeScale=true, Vector3 worldPosition=new Vector3()) |
| | Initializes a new instance of the MoreMountains.MMInterface.MMFadeOutEvent struct.
|
|
| static void | Trigger (float duration, MMTweenType tween, int id=0, bool ignoreTimeScale=true, Vector3 worldPosition=new Vector3()) |
|
| int | ID |
| | an ID that has to match the one on the fader
|
| float | Duration |
| | the duration of the fade, in seconds
|
| MMTweenType | Curve |
| | the curve to apply to the fade
|
| bool | IgnoreTimeScale |
| | whether or not this fade should ignore timescale
|
| Vector3 | WorldPosition |
| | a world position for a target object. Useless for regular fades, but can be useful for alt implementations (circle fade for example)
|
◆ MMFadeOutEvent()
| MoreMountains.Tools.MMFadeOutEvent.MMFadeOutEvent |
( |
float | duration, |
|
|
MMTweenType | tween, |
|
|
int | id = 0, |
|
|
bool | ignoreTimeScale = true, |
|
|
Vector3 | worldPosition = new Vector3() ) |
Initializes a new instance of the MoreMountains.MMInterface.MMFadeOutEvent struct.
- Parameters
-
◆ Trigger()
| void MoreMountains.Tools.MMFadeOutEvent.Trigger |
( |
float | duration, |
|
|
MMTweenType | tween, |
|
|
int | id = 0, |
|
|
bool | ignoreTimeScale = true, |
|
|
Vector3 | worldPosition = new Vector3() ) |
|
static |
◆ Curve
the curve to apply to the fade
◆ Duration
| float MoreMountains.Tools.MMFadeOutEvent.Duration |
the duration of the fade, in seconds
◆ ID
| int MoreMountains.Tools.MMFadeOutEvent.ID |
an ID that has to match the one on the fader
◆ IgnoreTimeScale
| bool MoreMountains.Tools.MMFadeOutEvent.IgnoreTimeScale |
whether or not this fade should ignore timescale
◆ WorldPosition
| Vector3 MoreMountains.Tools.MMFadeOutEvent.WorldPosition |
a world position for a target object. Useless for regular fades, but can be useful for alt implementations (circle fade for example)
The documentation for this struct was generated from the following file:
- H:/Code/MoreMountains/feel/Assets/Feel/MMTools/Core/MMUI/MMFader.cs