In order to hide the gameobject in Unity3D the code is-
Game.Object.transform.SetActice (false); ...