flyinian
Member
In my game, I have several possible foes to fight. Each foe has their own area to fight.
Each of those areas will have the same buttons with same functions. However, each of those buttons will have different data to use.
These buttons are created and destroyed when another button is pressed.
How can I achieve reusing the same buttons but, have them display different data?
The only way that I can think of to achieve this, would be to use the parenting system.
Are there any suggestions?
Each of those areas will have the same buttons with same functions. However, each of those buttons will have different data to use.
These buttons are created and destroyed when another button is pressed.
How can I achieve reusing the same buttons but, have them display different data?
The only way that I can think of to achieve this, would be to use the parenting system.
Are there any suggestions?