|
|
|
|
|
|
ChannelCredentials.Insecure); |
|
|
|
|
|
|
|
m_Client = new UnityToExternalProto.UnityToExternalProtoClient(channel); |
|
|
|
var result = m_Client.Exchange(WrapMessage(unityOutput, 200), deadline: DateTime.Now.AddSeconds(1)); |
|
|
|
#if UNITY_EDITOR
|
|
|
|
var result = m_Client.Exchange(WrapMessage(unityOutput, 200), deadline: DateTime.Now.AddSeconds(10000)); |
|
|
|
#else
|
|
|
|
var result = m_Client.Exchange(WrapMessage(unityOutput, 200)); |
|
|
|
#endif
|
|
|
|
var inputMessage = m_Client.Exchange(WrapMessage(null, 200)); |
|
|
|
unityInput = inputMessage.UnityInput; |
|
|
|
#if UNITY_EDITOR
|
|
|
|