Narrator
This component belongs to the following package:
- com.yahaha.sdk.horrorgame
This Narrator Component configures the narration or voice-over that helps direct players, provide context, and enhance the overall narrative flow of the game. Typically, you can attach the Component to an object or an empty area in the scene.
Property | Description |
---|---|
Position | Determines whether the narration or voice-over appears at the top or bottom of the screen. |
Title | Sets the title of the narration. |
Text | Sets the text content of the narration. |
Auto Hide Time | Specifies the duration in seconds for which the narration automatically hides after being displayed. Please note that setting this value to 0 will disable auto-hiding, and it should always be a positive value. |
Show Once | Determines whether the narration should appear once or every time when triggered. Enabled by default. |
Audio Clip | (Optional) An audio file for the narration. You can select a pre-recorded audio clip from Asset Library, or upload an audio file. |
Events and Actions
Events
- OnNarratorShow
Actions
- None