I’ve just installed the plugin from github under Unity Version 5.5.0xp1Linux (59c25c92588f), and can not find the Google Play Games menu. I’ve looked already all-round.
There is a “Play Services Resolver” menu under Assets, and there are 2 errors related to plugin files:
Assets/GooglePlayGames/Platforms/Android/Gms/Games/Stats/LoadPlayerStatsResultObject.cs(28,100): error CS1721: Com.Google.Android.Gms.Games.Stats.Stats_LoadPlayerStatsResultObject': Classes cannot have multiple base classes (JavaObjWrapper’ and `Result’)
Assets/GooglePlayGames/Platforms/Android/Gms/Games/Stats/Stats.cs(30,52): error CS0527: Type `Result’ in interface list is not an interface
I’ve investigated this further, and the issue is not related to Google Play Services, but to menu extension in general.
Reproduce:
Create Editor menu under Assets root
Add the following code to a C# script in the Editor folder
using UnityEngine;
using UnityEditor;
public class MyMenus
{
[MenuItem("Tools/My Menu")]
public static void MenuItemTesting()
{
PlayerPrefs.DeleteAll();
}
}
The script compiles fine, but no new menu is shown.
3. Restart unity, still no new menu is shown
I had a similar issue but my menus show just fine…
this code works in 5.6.0b3 but you will notice that the selection will be greyed out after pressing play if you restart the editor it will work fine until pressing play again
using UnityEngine;
using UnityEditor;
public class MyMenus
{
[MenuItem("Tools/My Menu")]
public static void MenuItemTesting()
{
PlayerPrefs.DeleteAll();
}
}