コード例 #1
0
 private void ChangeLatency(int diff)
 {
     if (LatencyChanged != null)
     {
         latencyString.Text     = GetLatencyString(LatencyChanged.Invoke(diff));
         latencyString.Position = new Vector2(400 - latencyString.Width / 2, latencyString.Position.Y);
     }
 }
コード例 #2
0
 protected virtual void OnLatencyChanged(int sign)
 {
     LatencyChanged?.Invoke(sign);
 }