示例#1
0
 public void RunAfter(IEnumerator block)
 {
     coroutine /= new Predefined.LogicCoroutine(block);
 }
示例#2
0
 public void RunBefore(ICoroutineBase c)
 {
     coroutine = c / coroutine;
 }
示例#3
0
 public void Run(ICoroutineBase c)
 {
     coroutine += c;
 }
示例#4
0
 public void RunAfter(ICoroutineBase c)
 {
     coroutine /= c;
 }
示例#5
0
        public void Update()
        {
            ICoroutineBase temp = coroutine.Update();

            coroutine = temp;
        }
示例#6
0
 public void clear()
 {
     coroutine = new GroupedCoroutine();
 }
示例#7
0
 public CoroutineExecuter()
 {
     coroutine = new GroupedCoroutine();
 }
示例#8
0
 public void RunBefore(IEnumerator block)
 {
     coroutine = new Predefined.LogicCoroutine(block) / coroutine;
 }
 public GroupedCoroutine(ICoroutineBase c1, ICoroutineBase c2)
 {
     _list = new LinkedList <ICoroutineBase>();
     _list.AddLast(c1);
     _list.AddLast(c2);
 }