Hello,
I have another question: is addActionButton function available to run from setup in JS?
it seems my button don't want to be created at this step...
it runs when called later in the code, but not during setup...
How did you do to create buttons on a refresh?
I have another question: is addActionButton function available to run from setup in JS?
it seems my button don't want to be created at this step...
it runs when called later in the code, but not during setup...
How did you do to create buttons on a refresh?
Code: Select all
setup: function( gamedatas )
{
console.log( "Starting game setup" );
this.addActionButton( 'button_patata', _('PATATATATATATA'), 'onSENButton');