Beispiel #1
0
 public override void Draw()
 {
     base.Draw();
     startPoint.Draw();
     endPoint.Draw();
     GUI.changed = true;
 }
Beispiel #2
0
 public virtual void Draw()
 {
     if (!isEvent)
     {
         inPoint.Draw();
     }
     outPoint.Draw();
     if (selected)
     {
         GUI.Box(rect, "", selectedStyle);
     }
     else
     {
         GUI.Box(rect, "", style);
     }
     DrawTitle();
     DrawName();
     DrawParams();
     if (linkDialogOn)
     {
         DrawLinkDialog();
     }
 }