rexrainbow / phaser3-rex-notes

Notes of phaser3 engine
MIT License
1.18k stars 259 forks source link

How to interact with buttons in gridButtons #437

Closed ngodinhdai286 closed 6 minutes ago

ngodinhdai286 commented 1 month ago

Below is the code I use to create a gridButtons, although I follow your example but I can not interact with button, plz help me

code 1 code

rexrainbow commented 1 month ago

A possible bug might be return window.rexUI.add.label({...} -> return scene.rexUI.add.label({...}