File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ namespace iOSNativePlugin
1010 public static class GameKit
1111 {
1212 [ DllImport ( "__Internal" ) ]
13- private static extern void GameKit_ShowGameCenterView ( CompletionCallback callback ) ;
13+ private static extern void iOSGameKit_ShowGameCenterView ( CompletionCallback callback ) ;
1414
1515 [ DllImport ( "__Internal" ) ]
16- private static extern void GameKit_LoadScore ( string leaderboardID , LongCallback callback ) ;
16+ private static extern void iOSGameKit_LoadScore ( string leaderboardID , LongCallback callback ) ;
1717
1818
1919
@@ -25,7 +25,7 @@ public static class GameKit
2525 /// <param name="gameCenterViewControllerDidFinish">用户关闭GC以及GC调用失败时的回调</param>
2626 public static void ShowGameCenterView ( Action gameCenterViewControllerDidFinish = null )
2727 {
28- GameKit_ShowGameCenterView ( OnScoreCallback ) ;
28+ iOSGameKit_ShowGameCenterView ( OnScoreCallback ) ;
2929 }
3030
3131
@@ -53,7 +53,7 @@ static void OnScoreCallback()
5353 /// <param name="callback">分数回调,获取失败时返回-1</param>
5454 public static void LoadScore ( string leaderboardID , Action < long > callback )
5555 {
56- GameKit_LoadScore ( leaderboardID , OnScoreCallback ) ;
56+ iOSGameKit_LoadScore ( leaderboardID , OnScoreCallback ) ;
5757 _onScoreCallback = callback ;
5858
5959 }
You can’t perform that action at this time.
0 commit comments