Added texture Quantization and a window to test it
This commit is contained in:
@@ -3,12 +3,15 @@ using UnityEditor;
|
||||
using PSXSplash.RuntimeCode;
|
||||
|
||||
[CustomEditor(typeof(PSXSceneExporter))]
|
||||
public class PSXSceneExporterEditor : Editor {
|
||||
public override void OnInspectorGUI() {
|
||||
public class PSXSceneExporterEditor : Editor
|
||||
{
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
DrawDefaultInspector();
|
||||
|
||||
|
||||
PSXSceneExporter comp = (PSXSceneExporter)target;
|
||||
if(GUILayout.Button("Export")) {
|
||||
if (GUILayout.Button("Export"))
|
||||
{
|
||||
comp.Export();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user