public override void LoadVariables()
 {
     gameManager = SandBoxGameManager.sandBoxGameManager;
     base.LoadVariables();
     spawnLocation = gameManager.GetSpawnLocation(playerNumber);
     LoadCursor();
 }
Example #2
0
 void Awake()
 {
     if (sandBoxGameManager == null)
     {
         sandBoxGameManager = this;
     }
     else
     {
         Destroy(gameObject);
     }
 }