I am making a game inspired by Melvor (Runescape inspired idle game). The difference about this game compared to other idle games is that the skill leveling is togglable. When you click on one skill, it only gains items from that skill every time a progress bar reaches the end. The skill “timer” starts over every time you gain xp/item until you toggle the skill off or select a different skill.
Toggle.isOn → timer starts → timer reaches end → gain xp/item → timer starts over
I cannot for the life of me figure out how to make this toggle system for skills. Should I use the UI buttons or should I use a game object? Any sort of help would be great!
Thank you for replying! The one thing I’m struggling with is deciding whether I should use a toggle or if I should use a button and make it operate as a toggle.