Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.SpeechPlayableBehaviour Class Reference
Inheritance diagram for AC.SpeechPlayableBehaviour:

Public Member Functions

void Init (SpeechPlayableData _speechPlayableData, Char _speaker, bool _isPlayerLine, int _playerID, SpeechTrackPlaybackMode _speechTrackPlaybackMode, int _trackInstanceID)
 
override void OnBehaviourPlay (Playable playable, FrameData info)
 
override void ProcessFrame (Playable playable, FrameData info, object playerData)
 

Protected Member Functions

bool IsValid ()
 
Player AssignPlayer (int _playerID)
 

Protected Attributes

SpeechPlayableData speechPlayableData
 
SpeechTrackPlaybackMode speechTrackPlaybackMode
 
Char speaker
 
bool isPlayerLine
 
int playerID
 
bool isPlaying
 
int trackInstanceID
 

Properties

Char Speaker [get]
 
Speech Speech [get]
 

Detailed Description

A PlayableBehaviour that allows for AC speech playback in Timelines

Property Documentation

◆ Speaker

Char AC.SpeechPlayableBehaviour.Speaker
get

The speaking character

◆ Speech

Speech AC.SpeechPlayableBehaviour.Speech
get

The Speech line produced by the clip. This will only be set once the clip has begun playing.