Table of Contents

Interface ISubtitleEntry

Namespace
Gasimo.Subtitles
Assembly
Gasimo.Subtitler.dll

Interface for describing subtitles usable in Subtitler

public interface ISubtitleEntry

Properties

Audio

AudioClip of the subtitle

object Audio { get; set; }

Property Value

object

Object containing the sound for this entry to be played with an IAudioSource

Dialogue

Dialogue string of the subtitle

string Dialogue { get; set; }

Property Value

string

Dialogue

DisplayFor

How long should the subtitle be visible for?

float DisplayFor { get; set; }

Property Value

float

Speaker

Speaker name for the subtitle, will prefix the dialogue in this format: speaker:dialogue (Optional)

string Speaker { get; set; }

Property Value

string

Speaker Name

SubtitleEvent

Programmable event which gets invoked when this subtitle gets played.

ScriptableEvent SubtitleEvent { get; set; }

Property Value

ScriptableEvent

WaitFor

How long should subtitler pause before playing this line? (If in sequence, relative to last played subtitle)

float WaitFor { get; set; }

Property Value

float