rexrainbow / phaser3-rex-notes

Notes of phaser3 engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I use image or sprite for checkboxes/radio

chaunguyen125 opened this issue · comments

If I follow the demo, can I use image, sprite and so on for bullets of list instead?

commented

Yes you can.

  • Create image game object at line 78.
  • button.getElement('icon') (line 38) will return this image game object.

Yeah I love that. Thank you!!!