Пример #1
0
 public void doCloseToolTip()
 {
     if (window != null)
     {
         window.Close();
     }
     window = null;
 }
Пример #2
0
        void showToolTip(string key, Rect buttonRect)
        {
            Rect parentRect = EditorWindow.focusedWindow.position;

            buttonRect.x += parentRect.x;
            window        = EditorWindow.GetWindow <InspectorTooltipWindow>();
            window.setParameters(key, Locale.instance);
            window.pd = this;
            window.Show();
            //window.ShowAsDropDown(buttonRect,size);
        }