Example #1
0
 //自身を描画する
 public void Draw()
 {
     inPoint.Draw();
     outPoint.Draw();
     //GUI.Box(rect, title, style);//矩形ベースで描画
     rect = GUI.Window(55245, rect, WindowFunc, "sss");
 }
Example #2
0
 /// <summary>
 /// 左右のポイントの描画処理
 /// </summary>
 private void DrawPoints()
 {
     inPoint.Draw();
     if ((nodeActiveID == ID || NodeBaseEditor.optionAllView) && myState.toggleWindow)
     {
         //右のポイント群の描画
         float ypos = -((rect.height / 2)) + 53f;
         ypos += updateFuncs.Count * 62;
         ypos += startFuncs.Count * 62;
         ypos += 57;//ラベル分
         for (int i = 0; i < outPoints.Count; i++)
         {
             outPoints[i].outPoint.Draw(new Rect(rect.position + new Vector2(0, ypos), rect.size));
             ypos += 62;
         }
     }
     else
     {
         float ypos = 0;
         for (int i = 0; i < outPoints.Count; i++)
         {
             outPoints[i].outPoint.Draw(new Rect(rect.position + new Vector2(0, ypos), rect.size));
             ypos += 0;
         }
     }
 }
Example #3
0
 public void Draw()
 {
     GUI.Box(rect, title, style);
     inPoint.Draw();
     outPoint.Draw();
 }