Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# onmousedown. unity

//be sure to use the unity system. above

void OnMouseDown()
    {
        Destroy(gameObject);
    }    
Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #unity
ADD COMMENT
Topic
Name
1+7 =