Skip to main content

Class ChatEntry

A rule entry representing a single chat message, designed for phone or chat-style dialogue systems.

public class ChatEntry : RuleEntry, IAutoplayable, IHasSpeaker, IHasListeners, IAudioEntry, ITextEntry, ISpriteEntry, IHasLifeTime

Inheritance​

RuleEntry→ChatEntry

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[]

Speaker​

Gets the actor entry representing the speaker of this dialogue or event.

public ActorEntry Speaker { 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

sprite​

Gets the sprite used as an icon or display image.

public Sprite sprite { get; }

Property Value​

Sprite

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