Table of Contents

Class SubtitleContainer

Namespace
Gasimo.Subtitles
Assembly
Gasimo.Subtitler.dll

Component representing one subtitle source in the world.

[RequireComponent(typeof(AudioSource))]
public class SubtitleContainer : MonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
SubtitleContainer

Fields

autoPlay

Play automatically on awake?

public bool autoPlay

Field Value

bool

subtitleData

Subtitle Data to play

public SubtitleSequenceData subtitleData

Field Value

SubtitleSequenceData

Methods

Play()

Plays the attached Subtitle Data

public void Play()

Stop()

Stops the sequence assigned to this Container

public void Stop()