コード例 #1
0
 /// <summary>
 /// Starts the heartbeat timer if it was not started when this
 /// HudManager was created.
 /// </summary>
 public void StartHeartbeat()
 {
     if (!mRepaintHeartbeat.Running)
     {
         // The timeout is redicuously short, but Decal Timers only
         // fire at most once per frame.
         mRepaintHeartbeat.Start(1);
     }
 }