No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CodelessIAPButtonEditor.cs 856B

12345678910111213141516171819202122232425262728
  1. using UnityEngine.Purchasing;
  2. namespace UnityEditor.Purchasing
  3. {
  4. /// <summary>
  5. /// Customer Editor class for the CodelessIAPButton. This class handle how the CodelessIAPButton should represent itself in the UnityEditor.
  6. /// </summary>
  7. [CustomEditor(typeof(CodelessIAPButton))]
  8. [CanEditMultipleObjects]
  9. public class CodelessIAPButtonEditor : AbstractIAPButtonEditor
  10. {
  11. /// <summary>
  12. /// Event trigger when <c>CodelessIAPButton</c> is enabled in the scene.
  13. /// </summary>
  14. public void OnEnable()
  15. {
  16. OnEnableInternal();
  17. }
  18. /// <summary>
  19. /// Event trigger when trying to draw the <c>CodelessIAPButton</c> in the inspector.
  20. /// </summary>
  21. public override void OnInspectorGUI()
  22. {
  23. OnInspectorGuiInternal();
  24. }
  25. }
  26. }