public void OnActionConfirm() { Debug.Log(currentAction); onUnitAction = false; whileUnitAction = true; TileNode target = battle.GetTile(transform.position); battle.ActUnit(battle.currentUnit, currentAction, target); cam.SetMenuMode(true); ResetWandToUnit(); ClearTargetTiles(); }