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