ADInterface.cs 647 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class ADInterface : SDKInterfaceBase
  5. {
  6. //[HideInInspector]
  7. public CallBack m_ADLoadFinish;
  8. public override void Init()
  9. {
  10. }
  11. public virtual void LoadAD(ADType adType,string tag = "")
  12. {
  13. }
  14. public virtual void PlayAD(ADType adType, string tag = "")
  15. {
  16. }
  17. public virtual void CloseAD(ADType adType, string tag = "")
  18. {
  19. }
  20. public virtual bool IsLoaded(ADType adType, string tag = "")
  21. {
  22. return true;
  23. }
  24. }
  25. public enum ADType
  26. {
  27. Banner,
  28. Reward,
  29. Interstitial,
  30. Video,
  31. }