UNPKG

@petkoneo/phaser3-rex-plugins

Version:
7 lines (6 loc) 246 B
import FileChooser from './FileChooser.js'; export default function (x, y, width, height, config) { var gameObject = new FileChooser(this.scene, x, y, width, height, config); this.scene.add.existing(gameObject); return gameObject; };