Firstborn/Library/PackageCache/com.unity.ads@3.7.5/Runtime/Advertisement/BannerOptions.cs
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05: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; }
}
}