Development/Unity3d

Unity3d Admob 추가시 AdSize 를 찾을 수 없는 문제

후미카 2015. 12. 21. 16:46

유니티 애드몹 추가시 AdSize 를 찾을 수 없을 때 Google Play Service 를 추가 해 주면 된다.


해결방법

Assets/GooglePlayGames/Editor/BackgroundResolution.cs 파일의 67번 라인에 아래 소스를  추가해 준다.

svcSupport.DependOn("com.google.android.gms",
                                "play-services-ads",
                                PluginVersion.PlayServicesVersionConstraint);