using UnityEngine;
using System.Collections;
using UnityEditor;

[CustomEditor (typeof(SceneLoader))]
public class ObjectBuilderEditor : Editor
{
	public override void OnInspectorGUI ()
	{
		DrawDefaultInspector ();
        
		SceneLoader loader = (SceneLoader)target;
		if (GUILayout.Button ("Save setup")) {
			loader.SaveSetup ();
		}
		if (GUILayout.Button ("Load setup")) {
			loader.LoadSetup ();
		}
	}
}