Check out example codes for "make an object disappear from a c# script unity". It will help you in understanding the concepts better.

Code Example 1

public GameObject ObjectToDisappear;

void Start()
{
	ObjectToDisappear.GetComponent<Renderer>().enabled = false;
}

Learn ReactJs, React Native from akashmittal.com