public void StopSocket() { socketIo.AllOff(); socketError = false; socketIo.Close(); connectBtn.sprite = connectIcon; socketURL.interactable = true; }