void Start() { if (instance != null) { Debug.LogWarning("Only one EnemyManager allowed"); } instance = this; if (enemyDestination == null) { Debug.LogWarning("No enemy destination set!"); return; } }
void Start() { if (instance != null) { Debug.LogWarning("Only one EnemyManager allowed"); } instance = this; if (enemyDestination == null) { Debug.LogWarning("No enemy destination set!"); return; } }