void RemovePoint(int index) { UnityEditor.Undo.RecordObject(m_path, "Remove point"); m_path.RemovePoint(index); }