데이터 파이프라인 구축

This commit is contained in:
2026-01-22 16:28:09 +09:00
parent 88a3f4c4e0
commit 3e6e5f0043
18 changed files with 1615 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
// Assets/Editor/DataImporter/CLIImporter.cs
using UnityEngine;
using UnityEditor;
namespace DigAndDefend.Editor
{
public static class CLIImporter
{
public static void ImportAllDataCLI()
{
Debug.Log("=== CLI Import 시작 ===");
try
{
CSVToSOImporter.ImportAll();
Debug.Log("=== CLI Import 성공 ===");
EditorApplication.Exit(0);
}
catch (System.Exception e)
{
Debug.LogError($"=== CLI Import 실패 ===");
Debug.LogException(e);
EditorApplication.Exit(1);
}
}
}
}