C# Class RegisterFadeScreen

Inheritance: MonoBehaviour
Datei anzeigen Open project: LilTsubaki/Les-fragments-d-Erule

Public Methods

Method Description
FadeEndStartAnim ( ) : void

Puts an end to the transition and activates the trigger previously specified.

FadeTime ( float transitionTime ) : void

Invokes the end of the transition after the specified time.

FadeTimeAnim ( float speed ) : void

Invokes the end of the transition after the specified time when having a trigger to activate.

Reverse ( float speed ) : void

Resets the transition values and reverses the state of fading in/out.

SetAnimation ( string anim ) : void

Private Methods

Method Description
FadeEnd ( ) : void

Puts an end to the transition.

FadeIn ( ) : void

Diminishes the alpha channel of the image according to the transition speed.

FadeOut ( ) : void

Increases the alpha channel of the image according to the transition speed.

Start ( ) : void
Update ( ) : void

Method Details

FadeEndStartAnim() public method

Puts an end to the transition and activates the trigger previously specified.
public FadeEndStartAnim ( ) : void
return void

FadeTime() public method

Invokes the end of the transition after the specified time.
public FadeTime ( float transitionTime ) : void
transitionTime float The time to end the transition after.
return void

FadeTimeAnim() public method

Invokes the end of the transition after the specified time when having a trigger to activate.
public FadeTimeAnim ( float speed ) : void
speed float
return void

Reverse() public method

Resets the transition values and reverses the state of fading in/out.
public Reverse ( float speed ) : void
speed float
return void

SetAnimation() public method

public SetAnimation ( string anim ) : void
anim string
return void