Пример #1
0
 public void ShowAsContext()
 {
     popup.Show(GUIScaleUtility.GUIToScreenSpace(Event.current.mousePosition), 40f);
 }
Пример #2
0
 public void ShowAsContext()
 {
     popup.Show(new Rect(Event.current.mousePosition.x, Event.current.mousePosition.y, 0f, 0f));
 }