/// <summary>
    /// スクリプトを作成
    /// </summary>
    private static void CreateScript()
    {
        StringBuilder builder = new StringBuilder();

        CreateClass(builder);
        List <string> SceneNames = SceneUtil.AnalyzeNameActiveBuild();

        CreateEnum(builder, SceneNames);
        CreateVariable(builder, SceneNames);

        // フォルダの確認
        string directoryName = System.IO.Path.GetDirectoryName(_exportDir);

        if (!System.IO.Directory.Exists(directoryName))
        {
            System.IO.Directory.CreateDirectory(directoryName);
        }

        System.IO.File.WriteAllText(_exportDir, builder.ToString(), Encoding.UTF8);
        AssetDatabase.Refresh(ImportAssetOptions.ImportRecursive);
    }