Answers for "ontriggerenter 3d"

C#
2

ontriggerenter

void OnTriggerEnter (Collider other) //Make sure to put this out of Voids
     {
         if (other.gameObject.tag == "Object") 
         {
             Debug.Log ("Collided");
         }
Posted by: Guest on February-22-2021
1

ontriggerenter

private void OnTriggerEnter(Collider other)
    {
        // code goes here
    }
Posted by: Guest on June-12-2021

C# Answers by Framework

Browse Popular Code Answers by Language