/// <summary> /// Used as an initializer for the LoginManager both on Server and Client side. /// </summary> public void UpdateApiAddress(string address, Action <CharacterResponse> spawnPlayerAction) { LoginServerClient = new LoginServerClient(address, this); apiAddress = address; this.spawnPlayerAction = spawnPlayerAction; }
private void Start() { LoginServerClient = new LoginServerClient(apiAddress, this); }