Esempio n. 1
0
 public static void Event(LTREvent gameEvent, bool isCallback = false)
 {
     if (hasInstance)
     {
         if (Instance.OnPPEvent != null)
         {
             Instance.OnPPEvent(gameEvent);
         }
         if (Instance.alsoCallPPEventsAsStrings && !isCallback)
         {
             callPPEventAsString(gameEvent);
         }
     }
 }
Esempio n. 2
0
 static void callPPEventAsString(LTREvent gameEvent)
 {
     Event(gameEvent.ToString(), isCallback: true);
 }