Unit and Building Selection

Project: Armament
Role: Game Programmer
Completed: 177.83 Sgt Robert Peric Game Programmer
Start Date: 3/31/2018 08:00
End Date: 4/11/2018 14:46
We need a mechanic that will allow us to select single and highlight by dragging the mouse to select many objects.

Complete Task
1.00 HR.
Worked out a few details for mouse clicking 

1.00 HR.

0.87 HR.
worked on test code for mouse to 3d world cords

1.25 HR.
Research how to draw a box for the mouse hightlighter

0.75 HR.
researching draw technique

0.75 HR.
Reading on net how to draw recktangle with mouse

1.25 HR.
I made one script for drawing recktangle that need to be attached to camera. And one script that need to be attached to game objects that we want to be selectable. Now starting to read how to make one click selection.

0.67 HR.
Reserching ways to make unit selectable by one click.
I think il use OnMouseUpAsButton method.

0.33 HR.
I finished it, for now they change color when selected and unselected, il put it up for review.

No Public Messages Available