Firstborn/Assets/MeshBaker/Editor/MB3_TextureBakerEditor.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

42 lines
1014 B
C#

//----------------------------------------------
// MeshBaker
// Copyright © 2011-2012 Ian Deane
//----------------------------------------------
using UnityEngine;
using System.Collections;
using System.IO;
using System;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using UnityEditor;
using DigitalOpus.MB.Core;
using DigitalOpus.MB.MBEditor;
namespace DigitalOpus.MB.Testing
{
[CustomEditor(typeof(MB3_TextureBaker))]
[CanEditMultipleObjects]
public class MB3_TextureBakerEditor : Editor
{
MB3_TextureBakerEditorInternal tbe = new MB3_TextureBakerEditorInternal();
void OnEnable()
{
tbe.OnEnable(serializedObject);
}
void OnDisable()
{
tbe.OnDisable();
}
public override void OnInspectorGUI()
{
tbe.DrawGUI(serializedObject, (MB3_TextureBaker)target, typeof(MB3_MeshBakerEditorWindow));
}
}
}