Newer
Older
TheVengeance-Project-IADE-Unity2D / Assets / Ink / Editor / Tools / Ink Inspector / DefaultAssetInspector.cs
@Rackday Rackday on 29 Oct 543 bytes Major Update
using UnityEngine;
using UnityEditor;

namespace Ink.UnityIntegration {
	public abstract class DefaultAssetInspector {
		// Reference to the actual editor we draw to
		public Editor editor;
		// Shortcut to the target object
		public Object target;
		// Shortcut to the serializedObject
		public SerializedObject serializedObject;

		public abstract bool IsValid(string assetPath);
		public virtual void OnEnable () {}
		public virtual void OnDisable () {}
		public virtual void OnHeaderGUI () {}
		public virtual void OnInspectorGUI() {}
	}
}