void setUpOnlineServerDual() { setUp(); server_script = server.AddComponent<ILearnRWServer>(); connection = server_script.requestAuthentication(userLoginData.username,userLoginData.password,userLoginData.teacher_username,userLoginData.teacher_password); }
void setUpOfflineServer() { setUp(); server_script = server.AddComponent<ILearnRWOffline>(); ILearnRWOffline castVersion = (ILearnRWOffline) server_script; castVersion.language = LocalisationMang.langCode.ToString(); connection = server_script.requestAuthentication(userLoginData.username,userLoginData.password); }