예제 #1
0
    public override IEnumerator OnRemoveFromStack()
    {
        if (ShowUIBlocker)
        {
            mTrigger  = null;
            mCollider = null;
            mBlocker  = null;
        }

        Show(false);

        Option = null;
        if (mClearQueue)
        {
            mQueue.Clear();
        }

        yield return(new WaitForEndOfFrame());

        if (mQueue.Count > 0)
        {
            Show(mQueue.Dequeue());
        }
        else if (!IsOpen())
        {
            DestroySelf();
        }
    }
예제 #2
0
 public void ClearMovementQueue()
 {
     _movePosQue.Clear();
     _onMoveEndActionByQue = null;
     StopMoveInDestination();
     _characterComponent.Stop();
 }