Example #1
0
 void Update()
 {
     if (Input.GetMouseButton(0) || Input.GetMouseButtonUp(0))
     {
         follower.MoveTo(camera.ScreenToWorldPoint(Input.mousePosition).XY().ToCell());
         follower.shape.radius = radius;
     }
 }