private ActionWrapper ( Action, a ) : IEnumerator, | ||
a | Action, | |
리턴 | IEnumerator, |
/// <summary> /// Locks the queue and adds the Action to the queue /// </summary> /// <param name="action">function that will be executed from the main thread.</param> /// <param name="data">parameter that will be used by the function action</param> public static void Enqueue(Action <object> action, object data) { Enqueue(_instance.ActionWrapper(action, data)); }
/// <summary> /// Locks the queue and adds the Action to the queue /// </summary> /// <param name="action">function that will be executed from the main thread.</param> public static void Enqueue(Action action) { Enqueue(_instance.ActionWrapper(action)); }