After my game's level complete, I want a skippable video ad to show. I want it to show if it's loaded, but if it's not loaded, I'm ok with it not showing.
Most people do it this way:
However wouldn't this code, without the "if" statement work just as well?
Why bother with the "if" statement at all?
Is Show() effectively the same as...
Calling Show() without IsReady()
Most people do it this way:
Code (csharp):
- if (Advertisement.IsReady()){
- }
Code (csharp):
Is Show() effectively the same as...
Calling Show() without IsReady()