internal static AnimatorState Queue(object control, WaitCallback queueMethod, BaseThreadParam queueMethodParam, object queueOwner) { if (control == null) { return(null); } lock (animeControls) { ControlState controlState = GetControlState(control, queueMethodParam.queueName); return(controlState.Queue(queueMethod, queueMethodParam, queueOwner)); } }