Hi, I have a gamepad declared as:
private var gamepad:FlxGamepad;
After using it, I'm trying to destroy it when I change state with FlxDestroyUtil:
override public function destroy():Void
{
gamepad = FlxDestroyUtil.destroy(gamepad);
super.destroy();
}
That seemed to work, but on OUYA, it just quit the game without warning.
So I replaced it by a simple:
Is that it? Do I miss something? And most of all, do I need to destroy the gamepad or not?
Thanks for your help!