public void FlushChannels()
{
if (this.m_Channels != null)
{
for (int i = 0; i < this.m_Channels.Length; i++)
{
this.m_Channels[i].CheckInternalBuffer();
}
}
}
// this can be used independantly of Update() - such as when using external connections and not listening. public void UpdateConnections() { for (int i = 0; i < m_Connections.Count; i++) { NetworkConnection conn = m_Connections[i]; if (conn != null) { conn.FlushChannels(); } } }