bread2unity BCCAD interpreter setup

This commit is contained in:
Braedon
2022-02-10 03:13:54 -05:00
parent 5dc432a9d9
commit 772ab2783c
19 changed files with 541 additions and 108 deletions

View File

@ -1,5 +1,7 @@
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEditor;
@ -27,11 +29,21 @@ namespace Bread2Unity
desc.wordWrap = true;
desc.fontStyle = FontStyle.BoldAndItalic;
GUILayout.Box("bread2unity is a tool built with the purpose of converting RH Megamix and Fever animations to unity. And to generally speed up development by a lot." +
"\nCreated by Starpelly.", desc);
GUILayout.Space(120);
if (GUILayout.Button("Test"))
{
string path = EditorUtility.OpenFilePanel("Open BCCAD File", null, "bccad");
if (path.Length != 0)
{
var fileContent = File.ReadAllBytes(path);
new BCCAD().Read(fileContent);
}
}
GUILayout.BeginHorizontal();
if (GUILayout.Button("Bread Download", GUILayout.Height(40)))
{