// Use this for initialization void Start() { myManager = new MyManager(); myManager.BuilderExportOnlyMethod(); GameObject newGO = new GameObject("AGameObject"); newGO.AddComponent <FirstBehavior>(); newGO.transform.SetParent(sceneObjectsRootTransform); }