Ejemplo n.º 1
0
 public static void Postfix()
 {
     if (GUIController.CurrentCategory == Category.Tick) // If we in Tick mode, finish our update (can happen multiple times p frame)
     {
         ProfileController.EndUpdate();
     }
 }
 public static void Postfix()
 {
     foreach (var k in H_TryIssueJobPackage.refires.ToList())
     {
         if (k.Value > 0)
         {
             H_TryIssueJobPackage.refires[k.Key] -= 1;
         }
     }
     if (GUIController.CurrentCategory == Category.Tick) // If we in Tick mode, finish our update (can happen multiple times p frame)
     {
         ProfileController.EndUpdate();
     }
 }
Ejemplo n.º 3
0
        public static void Postfix()
        {
            if (Active)
            {
                ProfileController.Stop("Frame times");
                ProfileController.Stop("Game Update");
            }

            if (GUIController.CurrentCategory != Category.Tick) // If we are tick, we will 'update' in the TickManager.DoSingleTick method
            {
                ProfileController.EndUpdate();
            }

            if (Active)
            {
                ProfileController.Start("Frame times");
            }
        }