Skip to main content

Class EndState

The final state of a typewriter clip. Invokes the clip end event and clears the current state to signal completion.

public class EndState : IClipState

Inheritance​

object→EndState

Implements​

IClipState

Methods​

Enter(TypewriterClip)​

Called when the clip enters this state.

public void Enter(TypewriterClip clip)

Parameters​

NameTypeDescription
clipTypewriterClipThe owning TypewriterClip instance.

Update(float)​

Called every frame (or update tick) while in this state.

public void Update(float deltaTime)

Parameters​

NameTypeDescription
deltaTimefloatTime elapsed since last update call.
  • Methods
    • Enter(TypewriterClip)
    • Update(float)