CreateRoad() private method

private CreateRoad ( Vector3 StartPoint ) : IEnumerator
StartPoint Vector3
return IEnumerator
コード例 #1
0
 private void MouseReleaseOnCanvasEventHandler(object sender, MouseEventArgs e)
 {
     if (leftButtonWasPressed == true)
     {
         leftButtonWasPressed = false;
         // drawing Real Road
         if (Tool == Tools.Road)
         {
             RoadCreator.CreateRoad(Canvas, ObjectHandler.Roads, ObjectHandler.Buildings, ObjectHandler.Garages);
         }
     }
 }