Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Resuse Buttons

Author
Message
Olde Worlde Illusions
3
Years of Service
User Offline
Joined: 10th Oct 2021
Location:
Posted: 2nd Jan 2022 21:49
Hi,

I am wondering what everyone thinks of reusing buttons for different stuff. What I mean by that is instead of


I do

Is creating individual buttons for one offs considered good or bad?
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 4th Jan 2022 08:24
There is no good or bad, 1 button can only perform 1 task and the ID can be used once, I think your question is more of a code management issue, what to name your constants and variables because the reality is you CAN only use the actual button once for a single task, but yeah sure reuse its ID when its been destroyed, this all depends on your requirements and scene setup.
Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee

Login to post a reply

Server time is: 2024-11-21 12:56:59
Your offset time is: 2024-11-21 12:56:59