Пример #1
0
 // マウスが押された時の処理
 public void MouseDown()
 {
     Debug.Log("mouse down");
     if (lineGenerator.state == LineGenerator.STATE.NONE && lineGenerator.IsLineLastPoint(pointNum))
     {
         lineGenerator.AddLineObject(this.transform.GetChild(0).position, pointNum, true);
     }
 }