3using UnityEngine.Serialization;
14 [FormerlySerializedAs(
"LoadOnEnabled")]
15 [Tooltip(
"Determines if ads should be automatically loaded when the object becomes enabled.")]
19 [FormerlySerializedAs(
"ReloadOnContentClosed")]
20 [Tooltip(
"Specifies whether ads should automatically reload after their content has been closed.")]
24 [FormerlySerializedAs(
"ReloadOnContentFailed")]
25 [Tooltip(
"Indicates if ads should reload automatically upon a failed show attempt.")]
29 [FormerlySerializedAs(
"ReloadOnFailed")]
30 [Tooltip(
"Determines if ads should reload automatically after a loading failure.")]
34 [FormerlySerializedAs(
"MaxFailedCount")]
35 [Tooltip(
"The maximum number of failed loading attempts before stopping automatic reloads.\n" +
36 "Only applies when ReloadAfterLoadFailure is true.")]
45 [FormerlySerializedAs(
"LoadIfNotReady")]
46 [Tooltip(
"Allows for the loading of an ad during a call to Show() if no ad is ready to display.")]
50 [FormerlySerializedAs(
"AutoShowWhenLoaded")]
51 [Tooltip(
"Automatically displays an ad as soon as it is loaded.\n" +
52 "Caution: Enabling this along with automatic loading can create a loop of continual ad display.")]
bool ReloadAfterContentClosed
Specifies whether ads should automatically reload after their content has been closed.
bool ReloadAfterShowFailure
Indicates if ads should reload automatically upon a failed show attempt.
byte MaxLoadFailureAttempts
The maximum number of failed loading attempts before stopping automatic reloads.
bool DisplayImmediatelyOnLoad
Automatically displays an ad as soon as it is loaded.
bool LoadOnDemand
Allows for the loading of an ad during a call to Show() if no ad is ready to display.
bool ReloadAfterLoadFailure
Determines if ads should reload automatically after a loading failure.
bool AutoLoadOnEnable
Determines if ads should be automatically loaded when the object becomes enabled.
Options and behaviors that control how ads are handled, loaded, and displayed.