/// <summary> /// Sets BattleHud selection screen cursor to OK button. If button is already selected /// a state change will occur. /// </summary> public void SetSelectionScreenCursorOK() { if (!isChipInfoActivated) { if (!isOkButtonHighlighted) { isOkButtonHighlighted = true; battleHud.MoveSelectionScreenCursor(Movement.down); } else if (isOkButtonHighlighted) { //Debug.Log("Changing state"); isOkButtonHighlighted = false; ChangeBattleState(BattleState.standby); battleHud.BattleGuidePosition(); } } }