playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.46k stars 965 forks source link

why these two lines creating errors? #2945

Closed Only4Gamers closed 4 years ago

Only4Gamers commented 4 years ago

Hello everyone, These two lines are creating 6 errors:

PlayGamesPlatform.InitializeInstance(config); PlayGamesPlatform.Activate();

And these are errors: Invalid token '(' in class, struct, or interface member declaration Tuple must contain at least two elements. Invalid token ';' in class, struct, or interface member declaration Invalid token '(' in class, struct, or interface member declaration Tuple must contain at least two elements. Invalid token ';' in class, struct, or interface member declaration

Please help.

ozdemir08 commented 4 years ago

Is it possible that you accidentally modified PlayGamesPlatform? If not, then can you share your full script and full errors?

olehkuznetsov commented 4 years ago

How do you create config here?

Only4Gamers commented 4 years ago

Is it possible that you accidentally modified PlayGamesPlatform? If not, then can you share your full script and full errors?

Actually problem is solved now. I was doing a mistake. Thanks for respons.

ozdemir08 commented 4 years ago

Glad to hear that your problem is solved. Closing this issue now.