private void SetUp() { setUpButton.interactable = false; hangUpButton.interactable = true; connectionIdInput.interactable = false; singleConnection.CreateConnection(connectionId); }
void CreateConnection() { _connectionId = System.Guid.NewGuid().ToString("N"); connection.CreateConnection(_connectionId); startButton.gameObject.SetActive(false); stopButton.gameObject.SetActive(true); }
private void OnStart() { if (string.IsNullOrEmpty(connectionId)) { connectionId = System.Guid.NewGuid().ToString("N"); connectionIdInput.text = connectionId; } connectionIdInput.interactable = false; connection.CreateConnection(connectionId); startButton.gameObject.SetActive(false); stopButton.gameObject.SetActive(true); }
void SendOffer() { var connectionId = System.Guid.NewGuid().ToString("N"); connection.CreateConnection(connectionId); }