Пример #1
0
 void PartnerLeft()
 {
     if (lobby.activeSelf)
     {
         if (!startUIControl.gameStarted)
         {
             setUpUIControl.SetUI();
             startUIControl.PartnerLeftBeforeStart();
         }
         else
         {
             startUIControl.PartnerLeftAfterStart();
         }
     }
     else
     {
         turnController.InvokeGameOverEvent(true);
     }
 }