Skip to main content

Class InstructionEntry

A rule entry representing an instructional message within the dialogue or narrative system. Instruction entries are used to deliver important guidance, warnings, or directives to specific listeners (e.g., the player) during gameplay.

public class InstructionEntry : RuleEntry, IHasListeners, IHasLifeTime, IAutoplayable, IAudioEntry, ITextEntry

Inheritance​

RuleEntry→InstructionEntry

Implements​

Properties​

Audio​

The audio clip associated with this entry.

public AudioClip Audio { get; }

Property Value​

AudioClip

AutoplayDuration​

Duration before the entry automatically moves on.

public float AutoplayDuration { get; }

Property Value​

float

CanAutoPlay​

Value indicating whether the entry can autoplay.

public bool CanAutoPlay { get; }

Property Value​

bool

CanPlayAudio​

Indicates whether this entry has audio that can be played.

public bool CanPlayAudio { get; }

Property Value​

bool

HasLifeTime​

Value indicating whether the entry has lifetime.

public bool HasLifeTime { get; }

Property Value​

bool

LifetimeDuration​

Lifetime duration.

public float LifetimeDuration { get; }

Property Value​

float

Listeners​

Gets the array of actor entries representing the listeners for this dialogue or event.

public ActorEntry[] Listeners { get; }

Property Value​

ActorEntry[]

Text​

The main text content to display.

public string Text { get; }

Property Value​

string

Title​

A short title or header for the text entry.

public string Title { get; }

Property Value​

string

  • Properties
    • Audio
    • AutoplayDuration
    • CanAutoPlay
    • CanPlayAudio
    • HasLifeTime
    • LifetimeDuration
    • Listeners
    • Text
    • Title