UNPKG

phaser4-rex-plugins

Version:
11 lines (9 loc) 373 B
import BuildListConfig from './BuildListConfig.js'; import DropDownList from '../../dropdownlist/DropDownList.js'; var CreateDropDownList = function (scene, config) { config = BuildListConfig(scene, config); var gameObject = new DropDownList(scene, config); scene.add.existing(gameObject); return gameObject; } export default CreateDropDownList;