示例#1
0
 protected override void OnUpdate()
 {
     if (scoring)
     {
         if (delayTimer.CheckAndTick(Time.deltaTime))
         {
             delayTimer.Restart();
             scoring = false;
             scoringPlayer.GainUltCharge(pointsForFullClear, Position);
         }
     }
 }