Show / Hide Table of Contents

The Cutscene Manager

The CutScene Manager is in charge of loading and displaying cutscenes.

The Cutscene Manager follows a singleton pattern, meaning that only one instance should exist at any point in the game.

The CutSceneManager

  1. Manager Canvas Group - the canvas group for the whole cutscene "screen"
  2. Entry Time - the time for the cutscene screen to fade in at the start of the cutscene
  3. Exit Time - the time for the cutscene scroon to fade out at the end of the cutscene
  4. Image - the image component showing the picture of the cutscene
  5. Tmp Text - the TextMeshPro(TMP) component showing the text of the cutscene
  6. Auto Progress - whether the cutscene should progress according to the timing saved in the CutSceneSequence or only progress when the player clicks the "Next" Button
  7. Transition Time - the time it takes for a single scene fade in/fade out
  8. Transition Pause Time - the time the screen stays at black when fading between one scene to another
Note

The total time for one scene to transition to another is Transition Time + Transition Pause Time + Transition Time

  1. Next Button - the button that triggers the next scene to be displayed
  2. Skip Button - the button that ends the cutscene sequence prematurely
  3. Scene Canvas Group - the canvas group for the cutscene only (as opposed to the whole cutscene screen), consisting of the image and tmp components
In This Article
Back to top Generated by DocFX