Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

hide game obj oncollisionenter

private void OnCollisionEnter()
{
	GameObject.SetActive(false);
}
 
PREVIOUS NEXT
Tagged: #hide #game #obj #oncollisionenter
ADD COMMENT
Topic
Name
3+2 =