AnnouncerSpawner

This is just a series of public methods that are meant to be called by other scripts. These methods will just spawn the specified gameobject as a child of the specified parent.

Public Virtual Methods

Method Description
void SpawnPlayerDead(string playerName, bool isDead) Spawns the playerDead gameobject as a child of the parent, only if isDead is true.
void SpawnPlayerJoined(string playerName) Spawns the playerJoined gameobject as a child of the parent
void SpawnPlayerLeft(string playerName) Spawns the playerLeft gameobject as a child of the parent
void SpawnPlayerMovedScenes(string playerName, string sceneName) Spawn the playerMoved gameobject as a child of the parent but only after it's marked as initilized. The first call to this function intilizase it only.
void SpawnPlayerChangedName(string playerName, string newName) Spawn the playerNameChange gameobject as a child of the parent but only after it's marked as initilized. The first call to this function intilizase it only.