DoopelPonger
|
Top level orchestrator during the tutorial. Spawns MrPaddle, the UI, and anything necessary to start the tutorial. It also keeps track of what step the player is on. More...
Public Member Functions | |
void | Awake () |
Initalize all things needed during the tutorial. More... | |
void | FixedUpdate () |
Trigger the TutorailUpdate method for the currently active step. More... | |
void | ChangeStep (TutorialStep stepToChangeTo) |
Change the currently active step. Used to force a transition from the currently active tutorial step. More... | |
void | CleanUp () |
Remove everything created during the Awake method. Called when the tutorial is over. More... | |
BoundriesCreator.GameMode | GetGameMode () |
Public Attributes | |
GameObject | mrPaddlePrefab |
TutorialStep | initialStep |
TutorialTextUI | tutorialText |
CoopPowerUpIcon [] | playerIcons |
IDictionary< string, System.Object > | tutorialMetadata |
GameObject | mrPaddle |
Static Public Attributes | |
static readonly string | PLAYER_MOVED_UP_FIRST = "PlayerMovedUpFirst" |
Top level orchestrator during the tutorial. Spawns MrPaddle, the UI, and anything necessary to start the tutorial. It also keeps track of what step the player is on.
void TutorialManager.Awake | ( | ) |
Initalize all things needed during the tutorial.
void TutorialManager.ChangeStep | ( | TutorialStep | stepToChangeTo | ) |
Change the currently active step. Used to force a transition from the currently active tutorial step.
stepToChangeTo | The new tutorial step. |
void TutorialManager.CleanUp | ( | ) |
Remove everything created during the Awake method. Called when the tutorial is over.
void TutorialManager.FixedUpdate | ( | ) |
Trigger the TutorailUpdate method for the currently active step.
BoundriesCreator.GameMode TutorialManager.GetGameMode | ( | ) |
TutorialStep TutorialManager.initialStep |
The first step of the tutorial.
GameObject TutorialManager.mrPaddle |
The instantiated teacher object.
GameObject TutorialManager.mrPaddlePrefab |
The teacher prefab.
|
static |
CoopPowerUpIcon [] TutorialManager.playerIcons |
The UI icons for the players when they have power ups.
IDictionary<string, System.Object> TutorialManager.tutorialMetadata |
All data that needs to be carried across steps of the tutorial.
TutorialTextUI TutorialManager.tutorialText |
Reference to the UI that displays text on screen.