public void ConnectToPepper() { Debug.Log("Connect, target IP is: " + _targetIp); if (string.IsNullOrEmpty(_targetIp)) { return; } //_session.Connect(_targetIp).Wait(); _session.Connect(_targetIp); if (!_session.IsConnected) { Debug.Log("Failed to connect"); return; } else { Debug.Log("Connected"); } //移動や音声合成で使うサブモジュールもロード InitializeServices(_session); StartObserveTouchSensors(); //接続時用のinteractable設定に切り替え SetGuiInteractabilities(true); InitializeGUITextInfo(); }