Skip to content

Narration Skip

Ethan Man edited this page Mar 29, 2025 · 4 revisions

This guide contains the following sections:

  1. Using Narration Skip
  2. Implementation Details

Using Narration Skip

  1. Navigate to the file at Assets/POINT/Audio/Narration/NarrationManager.cs.
  2. Double click on the file to open it
  3. Navigate to this section of the script and set developerOptions to true to enable Narration Skip.

image

  1. To disable Narration Skip, set developerOptions to false.
  2. To use Narration Skip, wait for an audio clip to start playing and then press the buttons for push on the right and left controllers simultaneously to skip it.

Implementation Details

Narration and subtitles are handled using the script Assets/POINT/Audio/Narration/NarrationManager.cs, currently attached to the Player GameObject.

Skipping Narration

  • The CheckForSkipButtons() IEnumerator is called when a new audio clip is played using PlayClipWithSubtitles().
  • 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 push buttons.
  • Wait functions are used to ensure that the player only skips one audio and their corresponding subtitles with each skip.

Changing Keybindings

  1. Navigate to the player prefab at Assets/POINT/InputAssets/Player.prefab and double click it to open it.
  2. Scroll down to the section titled Narration Manager (Script).
  3. Then, navigate to Assets/POINT/InputAssets and click on the right arrow on Controls.
  4. This should expand to a list of many XRI controller inputs.
  5. Select your desired XRI input and drag and drop it into LeftPushingReference and RightPushingReference to change the keybinds for these actions.

Clone this wiki locally