public void updateRoleInfoWith(GameRoleInfo gameRoleInfo, bool isCreateRole) { #if UNITY_ANDROID && !UNITY_EDITOR QuickUnitySupportAndroid androidSupport = QuickUnitySupportAndroid.getInstance(); androidSupport.updateRoleInfo(gameRoleInfo, isCreateRole); #endif }
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 }