Skip to content

Instantly share code, notes, and snippets.

@eduardonunesp
Created September 3, 2019 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eduardonunesp/9654a34ed9ca0b9906c8f94b7454e267 to your computer and use it in GitHub Desktop.
Save eduardonunesp/9654a34ed9ca0b9906c8f94b7454e267 to your computer and use it in GitHub Desktop.
Mouse Click
if (Input.GetMouseButtonDown(0))
{
Vector3 point = Camera.main.ScreenToWorldPoint(Input.mousePosition);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment