IEnumerator DoCall(ReplenishDelegate func, int[] index, int[] targetIndex) { func.Invoke(index, targetIndex); yield return(null); }
public CoroutineQueue Then(ReplenishDelegate call, int[] index, int[] targetIndex) { waitQueue.Add(DoCall(call, index, targetIndex)); return(this); }