Esempio n. 1
0
 private void DrawWindow(int id)
 {
     Grid.OnGUI();
     if (IsDraggable)
     {
         if (FullDraggable)
         {
             GUI.DragWindow();
         }
         else
         {
             GUI.DragWindow(DraggableArea);
         }
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Call Grid.OnGUI() to draw controls
 /// </summary>
 protected virtual void DrawControls()
 {
     Grid.OnGUI();
 }