Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

make an object disappear from a c# script unity

public GameObject ObjectToDisappear;

void Start()
{
	ObjectToDisappear.GetComponent<Renderer>().enabled = false;
}
 
PREVIOUS NEXT
Tagged: #object #disappear #script #unity
ADD COMMENT
Topic
Name
4+6 =