Google Play Services problem
Hi guys, sorry for question, but i cant find any solution for this
Im trying to implement play services into my game. I installed this plugin: https://github.com/playgameservices/play-games-plugin-for-unity
I did everything what is in guide, but when I want to use scripts for using services I get error when using:
using GooglePlayGames;
And error is: Assets/Standard Assets/Scripts/Banner_Int.cs(1,7): error CS0246: The type or namespace name `GooglePlayGames' could not be found. Are you missing an assembly reference?
I was using services long time ago and I remember, that we need to copy google-play-services-lib into project, but now it seems it do it automatically (even I cant see any folder for that)
Please help guys, I cant use Admob, Play services because of it
Thanks
Answer by Getsumi3 · Sep 02, 2017 at 11:54 AM
Sometime happens with Unity try to create a new empty project. import play service and test
I solved it already :) I had scripts on wrong place/folder, because it needs to be on top folder of assets, for example
assets/script_for_google
but i had it in: assets/standard assets/scripts/google
thats why i got that error :D
Your answer
Follow this Question
Related Questions
Cannot sign into Google Play Services when using Unity and Play Games Plugin for Unity 0 Answers
Using Google Play Services 2 Answers
Unity3D / Firebase Analytics: Missing Google Play Services Updated Security Provider 0 Answers
How to get PlayGameServices user level and level progress? 0 Answers
New Unity In-App Purchase integration problem (Android) 1 Answer