Unity 3D Developer Question:
Download Questions PDF

Tell us in Unity 3d How Can You Hide Gameobject?

Answers:

Answer #1
To hide gameobject in Unity 3D, you have to use the code

gameObject.transform.SetActive(false);

Answer #2
gameObject.SetActive(false);

Answer #3
gameobject.setActive(false);

Download Unity 3D Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell us what Is An Unity3d File And How Can You Open A Unity3d File?Explain me total Sessions Today?