-
Notifications
You must be signed in to change notification settings - Fork 2
Narration Skip
Ethan Man edited this page Mar 29, 2025
·
4 revisions
This guide contains the following sections:
- Navigate to the file at
Assets/POINT/Audio/Narration/NarrationManager.cs. - Double click on the file to open it
- Navigate to this section of the script and set developerOptions to
trueto enable Narration Skip.

- To disable Narration Skip, set developerOptions to
false. - To use Narration Skip, wait for an audio clip to start playing and then press the buttons for
pushon the right and left controllers simultaneously to skip it.
Narration and subtitles are handled using the script Assets/POINT/Audio/Narration/NarrationManager.cs, currently attached to the Player GameObject.
- The
CheckForSkipButtons()IEnumerator is called when a new audio clip is played usingPlayClipWithSubtitles(). - It uses a while loop to constantly check if the player activates skip functionality during the audio clip duration.
- When the player decides to skip the audio, it will stop the audio, remove the subtitles, and return when the player has let go of both the right and left
pushbuttons. - Wait functions are used to ensure that the player only skips one audio and their corresponding subtitles with each skip.
- Navigate to the player prefab at
Assets/POINT/InputAssets/Player.prefaband double click it to open it. - Scroll down to the section titled
Narration Manager (Script). - Then, navigate to
Assets/POINT/InputAssetsand click on the right arrow onControls. - This should expand to a list of many XRI controller inputs.
- Select your desired XRI input and drag and drop it into
LeftPushingReferenceandRightPushingReferenceto change the keybinds for these actions.