Ejemplo n.º 1
0
 public static void Postfix(string __state)
 {
     if (Active)
     {
         ProfileController.Stop(__state);
     }
 }
        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();
            }

            if (H_RootUpdate.Active)
            {
                ProfileController.Stop("Tick");
            }
        }
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");
            }
        }