C# Class CameraFader, ShaderProject

Inheritance: MonoBehaviour
Afficher le fichier Open project: ellioman/ShaderProject Class Usage Examples

Private Properties

Свойство Type Description
AnimationRoutine IEnumerator
OnDisable void
OnRenderImage void
Start void

Méthodes publiques

Méthode Description
CloseBars ( float durationSeconds, AnimationCurve curveToUse = null ) : void
CloseCircle ( float durationSeconds, Vector2 viewportPos, AnimationCurve curveToUse = null ) : void
OpenBars ( float durationSeconds, AnimationCurve curveToUse = null ) : void
OpenCircle ( float durationSeconds, Vector2 viewportPos, AnimationCurve curveToUse = null ) : void
SetBarVal ( float newVal ) : void

Private Methods

Méthode Description
AnimationRoutine ( float durationSeconds, AnimationCurve curveToUse ) : IEnumerator
OnDisable ( ) : void
OnRenderImage ( RenderTexture sourceTexture, RenderTexture destTexture ) : void
Start ( ) : void

Method Details

CloseBars() public méthode

public CloseBars ( float durationSeconds, AnimationCurve curveToUse = null ) : void
durationSeconds float
curveToUse UnityEngine.AnimationCurve
Résultat void

CloseCircle() public méthode

public CloseCircle ( float durationSeconds, Vector2 viewportPos, AnimationCurve curveToUse = null ) : void
durationSeconds float
viewportPos Vector2
curveToUse UnityEngine.AnimationCurve
Résultat void

OpenBars() public méthode

public OpenBars ( float durationSeconds, AnimationCurve curveToUse = null ) : void
durationSeconds float
curveToUse UnityEngine.AnimationCurve
Résultat void

OpenCircle() public méthode

public OpenCircle ( float durationSeconds, Vector2 viewportPos, AnimationCurve curveToUse = null ) : void
durationSeconds float
viewportPos Vector2
curveToUse UnityEngine.AnimationCurve
Résultat void

SetBarVal() public méthode

public SetBarVal ( float newVal ) : void
newVal float
Résultat void