public void SetStatsForAll() { player.WriteStats(); foreach (var enemy in enemies) { enemy.WriteStat(); } }
public void Spawn() { playerDyingCheck.isDying = false; playerDyingCheck.WriteStats(); gameObject.transform.position = start.transform.position; }