예제 #1
0
 public static bool AddUnityThreadCallbackToQueue(EiUnityThreadCallbackInterface propertyEvent)
 {
     lock (unityThreadQueue) {
         if (isRunningUnityThreadCallback)
         {
             return(false);
         }
         unityThreadQueue.Add(propertyEvent);
         return(true);
     }
 }
예제 #2
0
 public EiLLNode <EiUpdateInterface> Subscribe(EiUpdateInterface component)
 {
     return(components.Add(component));
 }
예제 #3
0
 public EiLLNode <EiUpdateInterface> SubscribeFixedUpdate(EiUpdateInterface component)
 {
     return(fixedUpdateList.Add(component));
 }
예제 #4
0
 public EiLLNode <TimerUpdateData> SubscribeUpdateTimer(EiUpdateInterface component, float repeatTime, Action method)
 {
     return(timerUpdateList.Add(new TimerUpdateData(component, repeatTime, method)));
 }