UNPKG

phaser4-rex-plugins

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