how would I "child" an un-rendered object?

Hello, How would I take a object in my project view and render it in the Hierarchy then attach it to a parent, in code without using the unity editor in any way?

To instantiate an objects from the asset folder, it must be in a folder named Resources, the you can use Resources.Load. To set his parent, use transform.parent = …