Adventure Creator 1.84.3
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
Loading...
Searching...
No Matches
AC.MenuPreview Class Reference
Inheritance diagram for AC.MenuPreview:

Public Member Functions

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

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