Forgot @pixi/interaction plugin

This commit is contained in:
Bill 2022-04-11 12:38:18 -04:00
parent bfc69c11f5
commit 142081a348

View File

@ -3,6 +3,7 @@ import '@pixi/canvas-display';
import { BatchRenderer, Renderer } from '@pixi/core'; import { BatchRenderer, Renderer } from '@pixi/core';
import { Extract } from '@pixi/extract'; import { Extract } from '@pixi/extract';
import '@pixi/graphics-extras'; import '@pixi/graphics-extras';
import { InteractionManager } from '@pixi/interaction';
import { AppLoaderPlugin, Loader } from '@pixi/loaders'; import { AppLoaderPlugin, Loader } from '@pixi/loaders';
import '@pixi/math-extras'; import '@pixi/math-extras';
import '@pixi/mixin-cache-as-bitmap'; import '@pixi/mixin-cache-as-bitmap';
@ -36,6 +37,7 @@ Renderer.registerPlugin('batch', BatchRenderer);
Renderer.registerPlugin('extract', Extract); Renderer.registerPlugin('extract', Extract);
Renderer.registerPlugin('tilingSprite', TilingSpriteRenderer); Renderer.registerPlugin('tilingSprite', TilingSpriteRenderer);
Renderer.registerPlugin('tilemap', TileRenderer); Renderer.registerPlugin('tilemap', TileRenderer);
Renderer.registerPlugin('interaction', InteractionManager);
Loader.registerPlugin(SpritesheetLoader); Loader.registerPlugin(SpritesheetLoader);