void Awake() { // Initialise fields ipAddressInput.text = "localhost"; portInput.text = "7777"; if(isAutoConnecting == true) { autoConnect(); } }