Unity SDK for advertising in VR unity games
Integration:
-
Step: a: Import flovr-X.X.X.unitypackage to the project. b: Clone or download the repo and copy to the Assets folder.
-
Step: a. Drag the Assets/FloVR/Prefabs/FloVRManager prefab to the first scene in your game. Fill out the AppId and AppSecret. b: Add to the to the top of the script “using FloVR”.; Call “FloVRManager.Initialize("YourAppId", "YourAppSecret");”.
-
Step: Show the ads like on the following example
public void ShowAd() { Ad newAd = new Ad(AdType.Video360, false, (AdState adState, Ad adObject) => { if (adState == AdState.Ready) { adObject.Show(); } }); }