C# Class UnityAdsButton, unity-ads-helper

Inheritance: MonoBehaviour
Show file Open project: Applifier/unity-ads-helper Class Usage Examples

Public Properties

Property Type Description
cooldownTime float
onFailed UnityEvent
onFinished UnityEvent
onSkipped UnityEvent
placementId string
rewarded bool

Public Methods

Method Description
ShowAd ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
GetCooldownTime ( ) : System.DateTime
IsReady ( ) : bool
ResetCooldownTime ( ) : void
SetCooldownTime ( System.DateTime dateTime ) : void

Method Details

ShowAd() public method

public ShowAd ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

cooldownTime public property

public float cooldownTime
return float

onFailed public property

public UnityEvent onFailed
return UnityEvent

onFinished public property

public UnityEvent onFinished
return UnityEvent

onSkipped public property

public UnityEvent onSkipped
return UnityEvent

placementId public property

public string placementId
return string

rewarded public property

public bool rewarded
return bool