private void Awake() { if (gameOverlordInstance != null && gameOverlordInstance != this) { Destroy(this.gameObject); } else { gameOverlordInstance = this; } }
private void Start() { gameOverlord = GetComponent <GameOverlord>(); }
void Start() { gameOverlord = FindObjectOfType <GameOverlord>(); DetermineRelease(); }