PottingMobileBase.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class PottingMobileBase
  5. {
  6. public static bool isDebug;
  7. protected static void InitManager()
  8. {
  9. if (PottingMobileManger.Instance == null)
  10. new GameObject("PottingMobile", typeof(PottingMobileManger));
  11. if (PottingMobileServicesManger.Instance == null)
  12. new GameObject("PottingMobileServices", typeof(PottingMobileServicesManger));
  13. }
  14. public static void PottingLog(object log) {
  15. if(isDebug)
  16. Debug.Log("Potting->"+log);
  17. }
  18. /// <summary>
  19. /// 苹果id登录
  20. /// </summary>
  21. public static void _LoginUseAppleSign()
  22. {
  23. }
  24. public enum AdPosition
  25. {
  26. TopLeft,
  27. TopCenter,
  28. TopRight,
  29. Centered,
  30. BottomLeft,
  31. BottomCenter,
  32. BottomRight
  33. }
  34. public enum TimeSpan {
  35. TIME_SPAN_DAILY=0,
  36. TIME_SPAN_WEEKLY=1,
  37. TIME_SPAN_ALL_TIME=2
  38. }
  39. public enum AdSize
  40. {
  41. H_50=50,
  42. H_90=90,
  43. H_250=250,
  44. H_280=280
  45. }
  46. }