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