Wiki

Options

Case Status
Log In

Wiki

Options

 
Home ยป Action Reference»Input Actions»Mouse Pick 2d
Index
Navigation
Community Wiki

Mouse Pick 2d

Perform a Mouse Pick on a 2d scene and stores the results. Use Ray Distance to set how close the camera must be to pick the 2d object.

Store Did Pick Object
Store if a GameObject was picked in a Bool variable. True if a GameObject was picked, otherwise false.
Store Game Object
Store the picked GameObject in a variable.
Store Point
Store the picked point in a variable.
Layer Mask
Pick only from these layers.
Invert Mask
Invert the mask, so you pick from all layers except those defined above.
Every Frame
Repeat every frame.

 

Tags:

Last modified on 3/15/2016 2:14 AM by User.

  • RSS Feed