Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

ontriggerenter


 void OnTriggerEnter (Collider other) //Make sure to put this out of Voids
     {
         if (other.gameObject.tag == "Object") 
         {
             Debug.Log ("Collided");
         }
 
PREVIOUS NEXT
Tagged: #ontriggerenter
ADD COMMENT
Topic
Name
2+2 =