private void DisplayInvisibleTeam(List <Transform> team) { for (int i = 0; i < team.Count; i++) { Slime s = team[i].root.GetComponent <Slime>(); s.DisplaySlime(false, false); } }
private void DisplayTeam(List <Transform> team) { for (int i = 0; i < team.Count; i++) { Slime s = team[i].root.GetComponent <Slime>(); if (!s.GetSlimeClass().isInvisible) { s.DisplaySlime(true, true); } if (s.GetSlimeClass().canCarve) { s.GetObstacle().carving = true; } } }