private void OnDestroy()
 {
     PlayerSpawnSystem.RemoveSpawnPoint(team, transform);
 }
 private void Awake()
 {
     PlayerSpawnSystem.AddSpawnPoint(team, transform);
 }