private void Awake() { switch (team) { case 0: SpawnSystem.AddSpawnPointA(transform); break; case 1: SpawnSystem.AddSpawnPointB(transform); break; } }