public UnityEditorMouseCursor(UnityEditor.MouseCursor cursor) { _unityMouseCursor = cursor; }
public static void AddCursorRect(UnityEngine.Rect position, UnityEditor.MouseCursor mouse) { }
static KeyValuePair <int, Tuple <Rect, ComputeResize> > CreateResizeHandleControl(Rect activeRect, String suffix, Rect parentWindowRect, UnityEditor.MouseCursor cursor, ComputeResize resizeDelegate) { int id = GUIUtility.GetControlID(("ProBuilderWindowResize" + suffix).GetHashCode(), FocusType.Passive, parentWindowRect); HandleUtility.AddControl(id, Vector2.Distance(activeRect.center, Event.current.mousePosition)); UnityEditor.EditorGUIUtility.AddCursorRect(activeRect, cursor); return(new KeyValuePair <int, Tuple <Rect, ComputeResize> >(id, new Tuple <Rect, ComputeResize>(activeRect, resizeDelegate))); }