コード例 #1
0
 public void ShowNextHint()
 {
     if (!TrackingAndMethods.QueuedHints.ContainsKey(player.Id))
     {
         return;
     }
     if (TrackingAndMethods.QueuedHints[player.Id].Count == 0)
     {
         ClearHint();
         return;
     }
     CurrentlyShownHint = TrackingAndMethods.QueuedHints[player.Id][0];
     StartedShowingAt   = Time.time;
     TrackingAndMethods.QueuedHints[player.Id].RemoveAt(0);
     player.SendHint(CurrentlyShownHint);
 }
コード例 #2
0
 public void ClearHint()
 {
     player.SendHint("", 0.1f);
     CurrentlyShownHint = null;
 }