Example #1
0
        public static void MenuImportAsPrefab()
        {
            var scene = ImportHelpers.InitForOpen();

            if (scene == null)
            {
                return;
            }

            ImportHelpers.ImportAsPrefab(scene);
        }
Example #2
0
        public static void MenuImportAsTimelineClip()
        {
            var scene = ImportHelpers.InitForOpen();

            if (scene == null)
            {
                return;
            }

            ImportHelpers.ImportAsTimelineClip(scene);
        }
Example #3
0
        public static void MenuImportAsGameObjects()
        {
            var scene = ImportHelpers.InitForOpen();

            if (scene == null)
            {
                return;
            }

            ImportHelpers.ImportSceneAsGameObject(scene, Selection.activeGameObject);
            scene.Close();
        }