public void DetachChild(TransformObject child) { if (child != null && !child.IsDestroyed) { DetachChild(child._transform); } }
public void AttachChild(TransformObject child) { if (child != null && !child.IsDestroyed) { AttachChild(child._transform, Vector3.zero); } }
public void AttachChild(TransformObject child, Vector3 position) { if (child != null && !child.IsDestroyed) { AttachChild(child._transform, position, Quaternion.identity); } }