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); }
public void ClearHint() { player.SendHint("", 0.1f); CurrentlyShownHint = null; }