Example #1
0
 /// <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;
 }
Example #2
0
 private void Start()
 {
     LoginServerClient = new LoginServerClient(apiAddress, this);
 }