예제 #1
0
        internal void LoadOnce(NaviState naviState)
        {
            naviState.ItemRefresh();
            naviState.TargetRefresh();

            runOnce = true;
        }
예제 #2
0
        internal void Complete(NaviState naviState)
        {
            int tempButtons = naviState.inventoryBox.buttons.Count;
            int tempItems   = naviState.allItems.Count;

            if (heldCount == 0)
            {
                naviState.ItemRefresh();
                naviState.currentState = 3;

                naviState.currentAction = null;
            }
            else
            {
                naviState.TargetRefresh();
                naviState.currentState = 6;
            }

            naviState.state[1]         = false;
            naviState.previousState[1] = false;

            runOnce = false;
        }