public bool Connect(){ Debug.Log("Initializing connection"); heightMapRequestor = new HeightMapRequester(); heightMapRequestor.Start(); inProcess = false; return true; }
public void Disconnect(){ if(heightMapRequestor != null){ Debug.Log("Ending connection"); heightMapRequestor.StopServerAndStop(); heightMapRequestor = null; inProcess = false; } }