Ejemplo n.º 1
0
        public void updateRoleInfoWith(GameRoleInfo gameRoleInfo, bool isCreateRole)
        {
#if UNITY_ANDROID && !UNITY_EDITOR
            QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance();
            androidSupport.updateRoleInfo(gameRoleInfo, isCreateRole);
#endif
        }
Ejemplo n.º 2
0
 public void updateRoleInfoWith(GameRoleInfo gameRoleInfo, bool isCreateRole)
 {
                 #if UNITY_IOS && !UNITY_EDITOR
     quicksdk_nativeUpdateRoleInfo(gameRoleInfo.serverID, gameRoleInfo.serverName, gameRoleInfo.gameRoleName, gameRoleInfo.gameRoleID, gameRoleInfo.gameRoleBalance, gameRoleInfo.vipLevel, gameRoleInfo.gameRoleLevel, gameRoleInfo.partyName, isCreateRole);
                 #elif UNITY_ANDROID && !UNITY_EDITOR
     QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance();
     androidSupport.updateRoleInfo(gameRoleInfo, isCreateRole);
                 #endif
 }