Ejemplo n.º 1
0
 public virtual void Clear()
 {
     if (LeftChild)
     {
         LeftChild.Clear();
         LeftChild = null;
     }
     if (RightChild)
     {
         RightChild.Clear();
         RightChild = null;
     }
     Destroy(gameObject);
 }