Esempio n. 1
0
 public static void InvokeTestLogic(AutoTestTag tag, Action dele, float delay = 1f)
 {
     if (!AutoTestController.IsEnable(tag) || dele == null)
     {
         return;
     }
     if (delay < 1.401298E-45f)
     {
         dele();
     }
     else
     {
         new Task(AutoTestController.Delay(dele, delay), true);
     }
 }
Esempio n. 2
0
 public static void TriggerEvent(AutoTestEventBase msg)
 {
     if (AutoTestController.IsEnable(msg.Tag))
     {
     }
 }
Esempio n. 3
0
 public static void RemoveHandler(string name, AutoTestTag tag, EventHandler <AutoTestEventBase> handler)
 {
     if (AutoTestController.IsEnable(tag))
     {
     }
 }