Brak opisu
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.

BannerOptions.cs 804B

123456789101112131415161718192021222324252627
  1. using System;
  2. namespace UnityEngine.Advertisements
  3. {
  4. /// <summary>
  5. /// Pass these options back to the SDK to notify it of events when displaying the banner.
  6. /// </summary>
  7. public class BannerOptions
  8. {
  9. public delegate void BannerCallback();
  10. /// <summary>
  11. /// This callback fires when the banner is visible to the user.
  12. /// </summary>
  13. public BannerCallback showCallback { get; set; }
  14. /// <summary>
  15. /// This callback fires when the banner is hidden from the user.
  16. /// </summary>
  17. public BannerCallback hideCallback { get; set; }
  18. /// <summary>
  19. /// This callback fires when the banner is clicked by the user.
  20. /// </summary>
  21. public BannerCallback clickCallback { get; set; }
  22. }
  23. }