The title is pretty self-explanatory, but as I mentioned in a previous post, I am working on a new battle mechanic that uses items called "Wisps," each with different abilities. I have managed to set up a UI in battle and even create a script that makes the mechanic work.
However, one issue remains: the UI stays visible for the entire battle, even after the player has finished choosing a move. I’m not sure how to fix this, since I can’t find any examples of how to check if it’s currently the player’s turn. This obviously becomes an issue because the player can toggle the Wisp on and off after the player's turn.
Thanks for any help!
However, one issue remains: the UI stays visible for the entire battle, even after the player has finished choosing a move. I’m not sure how to fix this, since I can’t find any examples of how to check if it’s currently the player’s turn. This obviously becomes an issue because the player can toggle the Wisp on and off after the player's turn.
Thanks for any help!