Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity mouse click

//Triggers when object is clicked
private void OnMouseDown()
{
  //Code to trigger
}
 
PREVIOUS NEXT
Tagged: #unity #mouse #click
ADD COMMENT
Topic
Name
8+9 =