コード例 #1
0
 void CheckVoteSkip()
 {
     if ((votedUserCount >= Math.Ceiling((double)LaatJeLikken.userCount / 2)) || (LaatJeLikken.userCount == 1 && LaatJeLikken.userCount == votedUserCount))
     {
         videoPlayer.Skip();
         votedUserCount = 0;
         votedUsers.Clear();
     }
 }