Skip to main content

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
TypeName
System.Singlelerp

SetOpen(float)

Set Animation state evaluating above.

Declaration
protected abstract void SetOpen(float lerp)
Parameters
TypeName
System.Singlelerp

SetClose(float)

Set Animation state evaluating above.

Declaration
protected abstract void SetClose(float lerp)
Parameters
TypeName
System.Singlelerp

InitiateReset()

Declaration
protected override void InitiateReset()

InitiateOpen()

Declaration
protected override void InitiateOpen()

InitiateClose()

Declaration
protected override void InitiateClose()