Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# onmousedown. unity

//be sure to use the unity system. above

void OnMouseDown()
    {
        Destroy(gameObject);
    }    
 
PREVIOUS NEXT
Tagged: #unity
ADD COMMENT
Topic
Name
5+8 =