You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey, Haxe Array matching! hadn't thought of that, indeed it looks cleaner.
but if I add this, it will not replace anything, it will be an extra option to have if you want.
Right now, if you just want to get an FlxMenu items trigger callback you have to do something like this:
For big menus with many items I guess this can work, but if you only want to handle a single item this code can get a bit ugly or cumbersome.
Improvement
So you are adding the callback directly to the
MItemData
objectA quicker way would be for the
FlxMenu
to have the last page added on standbyThe text was updated successfully, but these errors were encountered: