The object will not appear in the hierarchy.
// Creates 5 planes and hides them from the Hierarchy in the Editor.
function Start() { for(var i : int = 0; i < 5; i++) { var createdGO : GameObject = GameObject.CreatePrimitive(PrimitiveType.Plane); createdGO.hideFlags = HideFlags.HideInHierarchy; } }
no example available in C#