Пример #1
0
 public void Draw(HandleDrawerStateObjectBase stateObject)
 {
     if (Event.current.type == EventType.repaint)
     {
         DoDraw(stateObject);
     }
 }
Пример #2
0
 public void Draw(HandleDrawerStateObjectBase stateObject)
 {
     if (Event.current.type == EventType.repaint)
     {
         DoDraw(stateObject);
     }
 }
Пример #3
0
 protected virtual void DoDraw(HandleDrawerStateObjectBase stateObject)
 {
     DoDraw(stateObject.controlID, stateObject.position, stateObject.size, stateObject.rotation, stateObject.hovering);
 }
Пример #4
0
 protected virtual void DoDraw(HandleDrawerStateObjectBase stateObject)
 {
     DoDraw(stateObject.controlID, stateObject.position, stateObject.size, stateObject.rotation, stateObject.hovering);
 }