浏览代码

Just a couple TODOs that are no longer relevant.

/main/staging/code_context
nathaniel.buck@unity3d.com 3 年前
当前提交
8b27e70f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      Assets/Scripts/Relay/RelayUtpSetup.cs

4
Assets/Scripts/Relay/RelayUtpSetup.cs


if (m_networkDriver.Bind(NetworkEndPoint.AnyIpv4) != 0)
Debug.LogError("Failed to bind to Relay allocation.");
else
StartCoroutine(WaitForBindComplete()); // TODO: This is the only reason for being a MonoBehaviour?
StartCoroutine(WaitForBindComplete());
}
private IEnumerator WaitForBindComplete()

m_networkDriver.ScheduleUpdate().Complete();
yield return null; // TODO: Does this not proceed until a client connects as well?
yield return null;
}
OnBindingComplete();
}

正在加载...
取消
保存