/// <summary> /// Context menu to add a new node to the Route. /// </summary> public void AddNewNode() { CreateRouteSetEditor.CreateNewNode(this); }
/// <summary> /// Context menu to add a new node to the Route. /// </summary> public void AddNewNode(int index) { CreateRouteSetEditor.CreateNewNode(this, index); }
/// <summary> /// Context menu to add a new node to the Route. /// </summary> public void AddNewNode() { CreateRouteSetEditor.CreateNewNode(transform.GetComponentInParent <Route>()); }