Archive for 3月, 2016

 

unity : admob入れる unity 5.3.4

3月 22nd, 2016

Google Mobile Ads Unity Plugin [https://github.com/googleads/googleads-mobile-unity] version 3.0.3を入れてみます。 Document [https://developers.google.com/admob/android/games#unity] Google Play Service : androidの更新ツールで更新。 Google Mobile Ads SDK ( iOS v7.7.0 https://developers.google.com/admob/ios/download?hl=ja#downloadios === Plugins/iOS にgooglemobileads.frameworkを入れるだけでした。 inspectorでiOSにチェックが入っていればOK === 以下は間違いでした-.-; === * googlemobileads.frameworkをxcodeに入れる時は Add Files to Unity-iPhoneから、入れるとコードも入ってlibraryにも反映されます。 x 直接 Build Phasesのところに入れるとコピーされないので、ダメなようです。 @import GoogleMobileAds; コピーできていないとここでエラーになりました。 さらに、これを毎回エラーになったので何かなと Build Settings -> Search Paths -> Framework Search Paths にgooglemobileads.frameworkを置いてあるpathを入れたら大丈夫でした! $(SRCROOT)/myframeworks […]

Read full article | コメントは受け付けていません。

unity : unityads / unity 5.3.3

3月 17th, 2016

unity 5.3.3にunityAdsを入れてみました! Asset Storeのものは 4対応なので、 5.2以降では http://unityads.unity3d.com/help/monetization/getting-started Using the Services Window (available in Unity 5.2 and Later) http://unityads.unity3d.com/help/monetization/integration-guide-unity#using-the-services-window に沿ってやるだけで簡単にできました。 1点サンプルなどで if (Advertisement.IsReady(“rewardedVideoZone”)) のrewardedVideoZoneはデフォルトではrewardedVideoになっています。 また zone というのは サイト上では INTEGRATION ID のことのようでした!

Read full article | コメントは受け付けていません。