Beispiel #1
0
    /// <summary>
    /// Sends to BattleHud script to which direction the cursor should be moved
    /// </summary>
    /// <param name="cursorMovement"></param>
    public void MoveSelectionScreenCursor(Movement cursorMovement)
    {
        if (!isChipInfoActivated)
        {
            if (cursorMovement == Movement.up)
            {
                isOkButtonHighlighted = false;
            }
            else if (cursorMovement == Movement.down)
            {
                isOkButtonHighlighted = true;
            }

            battleHud.MoveSelectionScreenCursor(cursorMovement);
        }
    }