Пример #1
0
 public void DetachChild(TransformObject child)
 {
     if (child != null && !child.IsDestroyed)
     {
         DetachChild(child._transform);
     }
 }
Пример #2
0
 public void AttachChild(TransformObject child)
 {
     if (child != null && !child.IsDestroyed)
     {
         AttachChild(child._transform, Vector3.zero);
     }
 }
Пример #3
0
 public void AttachChild(TransformObject child,
                         Vector3 position)
 {
     if (child != null && !child.IsDestroyed)
     {
         AttachChild(child._transform, position, Quaternion.identity);
     }
 }