Check out example codes for "unity c# on trigger enter with specific gameobject". It will help you in understanding the concepts better.

Code Example 1

void OnTriggerEnter(Collider other)
    {
        if(other.gameObject.name == "Object name") 
			//Object name is the name of the GameObject you want to check for collisions with.
        {
			//What you want to do on trigger enter
        }
    }

Learn ReactJs, React Native from akashmittal.com