Skip to main content

Interface IClipState

Interface defining the contract for a clip state in the typewriter sequencer. Each state must implement entering behavior and update logic.

public interface IClipState

Methods​

Enter(TypewriterClip)​

Called when the clip enters this state.

void Enter(TypewriterClip clip)

Parameters​

NameTypeDescription
clipTypewriterClipThe owning TypewriterClip instance.

Update(float)​

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

void Update(float deltaTime)

Parameters​

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