Skip to main content
New Participant
April 24, 2018

I have some issues with OnTriggerEnter

I have some issues with OnTriggerEnter and acivate a Area sound. My Scripts no detect the collider and no activate de sound when i was enter in the area.
-sorry for my english.

Script;
public class AlarmaArea : MonoBehaviour {

    public GameObject areaSonido;

    void OnTriggerEnter(Collider other)
    {
        if (other.gameObject.tag == "Player")
        {
            areaSonido.SetActive(true);
        }
    }

}
This topic has been closed for replies.