We do use it in the button function. Or maybe you meant elsewhere?
May I ask the question what is the difference between NodeBundle and ButtonBundle?
It is analog to the difference between a div tag and a button tag in HTML (if you are familiar with web development).
Use the NodeBundle whenever you need something not much interactive.
Use the ButtonBundle whenever you need a button / clickable thing.
We do use it in the
buttonfunction. Or maybe you meant elsewhere?It is analog to the difference between a
divtag and abuttontag in HTML (if you are familiar with web development).Use the
NodeBundlewhenever you need something not much interactive.Use the
ButtonBundlewhenever you need a button / clickable thing.Sorry, I am new to Rust and Bevy, have not noticed that we use it. Thanks for the explanation!