public void ProtecteRoot() { ShowPathLines.ProtecteNode(transform); for (int i = 0; i < transform.childCount; i++) { var littleZoo = transform.GetChild(i); ShowPathLines.ProtecteNode(littleZoo); } }
public void ProtecteRoot() { ShowPathLines.ProtecteNode(transform); }