Beispiel #1
0
        static void MenuExportSelectedWithChildren()
        {
            var go       = Selection.gameObjects.First();
            var filePath = EditorUtility.SaveFilePanel("Export USD File", "", go.name, "usd,usda,usdc");
            var scene    = ExportHelpers.InitForSave(filePath);

            ExportHelpers.ExportGameObjects(Selection.gameObjects, scene, BasisTransformation.SlowAndSafe);
        }