phaser - v4.0.0-rc.4
    Preparing search index...
    • Static method called directly by the Core internal Plugins. Key is a reference used to get the plugin from the plugins object (i.e. InputPlugin) Plugin is the object to instantiate to create the plugin Mapping is what the plugin is injected into the Scene.Systems as (i.e. input)

      Parameters

      • key: string

        A reference used to get this plugin from the plugin cache.

      • plugin: Function

        The plugin to be stored. Should be the core object, not instantiated.

      • mapping: string

        If this plugin is to be injected into the Scene Systems, this is the property key map used.

      • Optionalcustom: boolean

        Core Scene plugin or a Custom Scene plugin? Default false.

      Returns void