UNPKG

@mai3/phaser-sdk

Version:

A UI component library based on the Phaser game engine

10 lines (9 loc) 309 B
var Memory = { DelEventsBeforeDestory: function (obj) { obj.on('destroy', function () { obj === null || obj === void 0 ? void 0 : obj.removeInteractive(); obj === null || obj === void 0 ? void 0 : obj.removeAllListeners(); }, obj); }, }; export default Memory;