Пример #1
0
 internal bool OnCheckObserver(NetworkConnection conn)
 {
     for (int i = 0; i < m_NetworkBehaviours.Length; i++)
     {
         NetworkBehaviour comp = m_NetworkBehaviours[i];
         try
         {
             if (!comp.OnCheckObserver(conn))
             {
                 return(false);
             }
         }
         catch (Exception e)
         {
             Debug.LogError("Exception in OnCheckObserver:" + e.Message + " " + e.StackTrace);
         }
     }
     return(true);
 }