/// <summary> /// Removes the child from this behaviour. /// </summary> /// <param name="parent"></param> /// <param name="child"></param> private void removeChild(Core.BehaviourNode child) { if (behaviour && child) { behaviour.RemoveChild(child); } }