Hi,
Today unity release v5.5 Im intall the new version and now I have 2 new errors related to the google play services api.
1
Assets/GooglePlayGames/ISocialPlatform/PlayGamesLocalUser.cs(27,18): error CS0535: GooglePlayGames.PlayGamesLocalUser' does not implement interface member UnityEngine.SocialPlatforms.ILocalUser.Authenticate(System.Action<bool,string>)’
2
Assets/GooglePlayGames/ISocialPlatform/PlayGamesPlatform.cs(41,18): error CS0535: GooglePlayGames.PlayGamesPlatform' does not implement interface member UnityEngine.SocialPlatforms.ISocialPlatform.Authenticate(UnityEngine.SocialPlatforms.ILocalUser, System.Action<bool,string>)’
Thanks for your repply @liortal but, could you please be a little more especific to me? like? what to type and where?
Im a little bit confuse with this changes on the methods!!
public void Authenticate(Action callback);
public void Authenticate(Action<bool,string> callback); Parameters
callback Callback that is called whenever the authentication operation is finished. The first parameter is a Boolean identifying whether the authentication operation was successful. The optional second argument contains a string identifying any errors (if available) if the operation was unsuccessful.
…The optional second argument… so if its optional?? why the editor give errors on the scripts from google?
it is not optional… if its defined in the interface, you have to implement that method.
I think that what they meant was that you can choose to do something with that argument, or ignore it.
Definitely should improve their documentation on this one.
you can just implement the empty methods from the interface in Google Play classes its complaining about - it seems they’re not actually used. I’ve had this working in my game without an issue.