C# Class UnityAdsButton, unity-ads-helper

Inheritance: MonoBehaviour
Mostra 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_oe property

public float cooldownTime
return float

onFailed public_oe property

public UnityEvent onFailed
return UnityEvent

onFinished public_oe property

public UnityEvent onFinished
return UnityEvent

onSkipped public_oe property

public UnityEvent onSkipped
return UnityEvent

placementId public_oe property

public string placementId
return string

rewarded public_oe property

public bool rewarded
return bool