using UnityEngine.Purchasing;
namespace UnityEditor.Purchasing
{
///
/// Customer Editor class for the CodelessIAPButton. This class handle how the CodelessIAPButton should represent itself in the UnityEditor.
///
[CustomEditor(typeof(CodelessIAPButton))]
[CanEditMultipleObjects]
public class CodelessIAPButtonEditor : AbstractIAPButtonEditor
{
///
/// Event trigger when CodelessIAPButton is enabled in the scene.
///
public void OnEnable()
{
OnEnableInternal();
}
///
/// Event trigger when trying to draw the CodelessIAPButton in the inspector.
///
public override void OnInspectorGUI()
{
OnInspectorGuiInternal();
}
}
}