Ejemplo n.º 1
0
 internal void OnNetworkDestroy()
 {
     for (int i = 0; m_NetworkBehaviours != null && i < m_NetworkBehaviours.Length; i++)
     {
         NetworkBehaviour comp = m_NetworkBehaviours[i];
         comp.OnNetworkDestroy();
     }
     m_IsServer = false;
 }