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