我在Unity3d编辑器中犯了这个错误:
InvalidCastException: Cannot cast from source type to destination type.
LeaderboardFunctions.Show_COINS_Leaderboard () (at Assets/LeaderboardFunctions.cs:53)
但很奇怪,因为我使用相同的代码其他项目,但这个项目即将到来。
((PlayGamesPlatform)Social.Active).ShowLeaderboardUI(Leaderboard.leaderboard_highscores); PlayGamesPlatform giving error.