Class LerpView
Declaration
public abstract class LerpView : BaseView
Inheritance: System.Object
-> MatchinghamGames.StockholmCore.View -> MatchinghamGames.StockholmCore.BaseView
Derived:
MatchinghamGames.StockholmCore.LerpFadeView, MatchinghamGames.StockholmCore.LerpScaleView
Properties
Duration
Declaration
public float Duration { get; }
Fields
_isCoroutinesKeptOnDisable
Declaration
protected bool _isCoroutinesKeptOnDisable
currentOpenAmount
Declaration
protected float currentOpenAmount
Methods
Evaluate(float)
Returns a evaluated result for lerp value which is in [0, 1]
Declaration
public abstract float Evaluate(float lerp)
Returns
System.Single
Parameters
Type | Name |
---|---|
System.Single | lerp |
SetOpen(float)
Set Animation state evaluating above.
Declaration
protected abstract void SetOpen(float lerp)
Parameters
Type | Name |
---|---|
System.Single | lerp |
SetClose(float)
Set Animation state evaluating above.
Declaration
protected abstract void SetClose(float lerp)
Parameters
Type | Name |
---|---|
System.Single | lerp |
InitiateReset()
Declaration
protected override void InitiateReset()
InitiateOpen()
Declaration
protected override void InitiateOpen()
InitiateClose()
Declaration
protected override void InitiateClose()