let object disapear untiy code example
Example: make an object disappear from a c# script unity
public GameObject ObjectToDisappear;
void Start()
{
ObjectToDisappear.GetComponent<Renderer>().enabled = false;
}
public GameObject ObjectToDisappear;
void Start()
{
ObjectToDisappear.GetComponent<Renderer>().enabled = false;
}