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

Public Member Functions

void SetPreviewSpeech (Speech speech, int trackInstanceID)
 Begins the preview of a subtitle More...
 
void ClearPreviewSpeech (int trackInstanceID)
 Ends the preview of a subtitle More...
 

Detailed Description

Allows Menus (see: Menu) made in MenuManager to be shown in the Game Window when the game is not running, allowing for real-time previews as they are built.

Member Function Documentation

◆ ClearPreviewSpeech()

void AC.MenuPreview.ClearPreviewSpeech ( int  trackInstanceID)

Ends the preview of a subtitle

Parameters
trackInstanceIDThe Instance ID of the TrackAsset that is playing the speech

◆ SetPreviewSpeech()

void AC.MenuPreview.SetPreviewSpeech ( Speech  speech,
int  trackInstanceID 
)

Begins the preview of a subtitle

Parameters
speechThe Speech to preview
trackInstanceIDThe Instance ID of the TrackAsset that is playing the speech