Created
September 3, 2019 21:49
-
-
Save eduardonunesp/9654a34ed9ca0b9906c8f94b7454e267 to your computer and use it in GitHub Desktop.
Mouse Click
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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