Hello everyone,
We are currently working on a mobile phone party game and the first screen is 4 empty placeholder input fields where each team will write their name inside.
How can I make a condition so that when at least 2 fields have text in them, the confirm button will become clickable (sprite swap to a green button instead of grey) and then when the player clicks “Confirm” the input fields, depending on the number of fields created, it will store inside an array the team names so that we can use the variables later on when displaying Team Name in the main game screen?
TLDR: you must write at least inside 2 fields:
to enable the confirm button, then take the 2-4 team names and store them and assign them numbers 1-4 so that we can use them later for mechanics like the number of pawns that appear in the game.

