示例#1
0
 // Use this for initialization
 void Start()
 {
     queue = new CoroutineQueue();
     queue.Start();
     queue.Add(SimpleCoroutines.ExitImmidiately());
     UpdateCount = 0;
 }
示例#2
0
 void Start()
 {
     queue = new CoroutineQueue();
     queue.Start();
     queue.Add(SimpleCoroutines.ExitAfterFrame());
     UpdateCount = 0;
 }
示例#3
0
文件: CQWaitUntil.cs 项目: W3SS/Carty
 void Start()
 {
     queue = new CoroutineQueue();
     queue.Start();
     queue.AddWait(_wait);
     StartCoroutine(AssertWaitUntilDone());
 }
示例#4
0
文件: CQAddWait.cs 项目: W3SS/Carty
 void Start()
 {
     queue.Start();
     queue.AddWait(wait);
     TimeElapsed = 0;
     UpdateCount = 0;
 }
示例#5
0
        void Awake()
        {
            _movementQueue = new CoroutineQueue();
            _rotationQueue = new CoroutineQueue();
            _movementQueue.Start();
            _rotationQueue.Start();

            _detached = GetComponent <CanBeDetached>();
        }