Esempio n. 1
0
 void OnRecvFence(FenceMessage mes)
 {
     if (mes.type == FenceMessage.FenceType.SceneEnd)
     {
         SortObjects();
     }
 }
Esempio n. 2
0
 void OnRecvFence(FenceMessage mes)
 {
     if (mes.type == FenceMessage.FenceType.SceneBegin)
     {
         BeforeUpdateScene();
     }
     else if (mes.type == FenceMessage.FenceType.SceneEnd)
     {
         AfterUpdateScene();
         m_server.NotifyPoll(PollMessage.PollType.SceneUpdate);
     }
 }