minesweeper_game/Library/PackageCache/com.unity.ads@a7b997f68a1d/Runtime/Advertisement/BannerOptions.cs
2025-03-15 14:30:26 -04:00

28 lines
804 B
C#

using System;
namespace UnityEngine.Advertisements
{
/// <summary>
/// Pass these options back to the SDK to notify it of events when displaying the banner.
/// </summary>
public class BannerOptions
{
public delegate void BannerCallback();
/// <summary>
/// This callback fires when the banner is visible to the user.
/// </summary>
public BannerCallback showCallback { get; set; }
/// <summary>
/// This callback fires when the banner is hidden from the user.
/// </summary>
public BannerCallback hideCallback { get; set; }
/// <summary>
/// This callback fires when the banner is clicked by the user.
/// </summary>
public BannerCallback clickCallback { get; set; }
}
}