Sample Description
I will explain how to check the operation using samples.
1. Open the scene
- Double click Assets -> Sample -> Scenes -> MainScene and open the scene.
- Double-click Canvas under MainScene to edit Scene.
2. Selection of Platform
Select File -> Build Settings in the menu bar and open Build Settings.
Select Platform choice Android
oriOS
and press Switch Platform
.
3. Change screen size
Change the screen size of Game view from Free Aspect.
For iPhone
Please change to the vertical size such as iPhone 5 Tall (9: 16).
Android case
Please change to vertical size such as 16:10 Portrait (10: 16).
4. Package Build
Please refer to the following.
Package build on iOS Device is not set by default, please set original
Bundle Identifier
. (Build Settings -> Player Settings -> Other Settings -> Identification.)When you check the sample of the xcode project built for iOS, please contact the sales representative.
5. Operation check
When confirming the operation, please check in the following environment. (* Operation check can not be performed on Unity's Game view.)
- Android · · · actual machine or emulator
- iOS · · · actual machine or simulator
Description of sample screen
scene
- MainScene ... Sample main screen
- SubScene ... sub screen. Screen to confirm that reward movie works even if the scene changes.
button
Name | Uses |
---|---|
Load | Load RewardVideo |
Show | Play RewardVideo |
NextScene | Move to Sub scene or Main scene |
Operation example
- Enter UnitID
- Load the RewardVideo by pressing the
Load
button - After a while,
AdLoaded
will be displayed in the log display below. - Press the
Show
button to play the RewardVideo. - When the RewardVideo finishes playing, confirm that the callback event is called in the log display.