Skip to content

ActionContext

ClassTextStudioTextStudio
public class ActionContext

Context passed to action execution.

ActionContext(ActionMarker, ITextStudioController)

Section titled “ActionContext(ActionMarker, ITextStudioController)”
public ActionContext(ActionMarker marker, ITextStudioController controller)

Creates invocation context for one parsed marker and playback controller.

Parameters

Name Type
marker TextStudio.ActionMarker
controller TextStudio.ITextStudioController

public void RequestSkip()

Requests cooperative cancellation of the executing action’s wait.

public ActionMarker Marker { get; }

Returns

TextStudio.ActionMarker

public ITextStudioController Controller { get; }

Returns

TextStudio.ITextStudioController

public float SpeedMultiplier { get; set; }

Returns

System.Single

public bool SkipRequested { get; }

Returns

System.Boolean

public bool IsEditModePreview { get; }

Returns

System.Boolean

public float DeltaTime { get; }

Returns

System.Single