Nenhuma descrição
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

IAPButtonEditor.cs 945B

12345678910111213141516171819202122232425262728293031
  1. using UnityEngine;
  2. using UnityEngine.Purchasing;
  3. namespace UnityEditor.Purchasing
  4. {
  5. /// <summary>
  6. /// Customer Editor class for the IAPButton. This class handle how the IAPButton should represent itself in the UnityEditor.
  7. /// </summary>
  8. //disable Warning CS0618 IAPButton is deprecated, please use CodelessIAPButton instead.
  9. #pragma warning disable 0618
  10. [CustomEditor(typeof(IAPButton))]
  11. [CanEditMultipleObjects]
  12. public class IAPButtonEditor : AbstractIAPButtonEditor
  13. {
  14. /// <summary>
  15. /// Event trigger when <c>IAPButton</c> is enabled in the scene.
  16. /// </summary>
  17. public void OnEnable()
  18. {
  19. OnEnableInternal();
  20. }
  21. /// <summary>
  22. /// Event trigger when trying to draw the <c>IAPButton</c> in the inspector.
  23. /// </summary>
  24. public override void OnInspectorGUI()
  25. {
  26. OnInspectorGuiInternal();
  27. }
  28. }
  29. }