- Home /
Question by
Abeer Khaled · Nov 19, 2012 at 10:56 AM ·
objectgameselect
how to select an object in game mode ?
how to select an object in game mode ? like select a tool like sphere inside game ?
Comment
Answer by Berenger · Nov 19, 2012 at 11:41 AM
You need to detect the click on an object (OnMouseDown / Physics.Raycast), then you need to save the reference of the transform (or whatever) so you can manipulate it later, and finally you need to make that selection visible (particles, modification of the material, something transparent over it, GUI etc)