Beispiel #1
0
        public SceneExporter(GameObject[] gos, string targetFilePath)
        {
            pathHelper = new ExportPathHelper(targetFilePath);

            unitySceneRoot = new UnitySceneRoot();
            foreach (var go in gos)
            {
                unitySceneRoot.Add(go);
            }
        }
Beispiel #2
0
        UnitySceneRoot BuildUnitySceneRoot(GameObject[] gos)
        {
            var root = new UnitySceneRoot();

            foreach (var go in gos)
            {
                root.Add(go);
            }
            return(root);
        }