Installation
The coherent-gameface-interaction-manager is distributed as both ESM and UMD bundles.
Using NPM
Section titled “Using NPM”To install it you can run
npm install coherent-gameface-interaction-manager
and then do
import * as interactionManager from 'coherent-gameface-interaction-manager';
or you can also link it in your HTML directly
<script src="node_modules/coherent-gameface-interaction-manager/dist/interaction-manager.min.js"></script>
Using a CDN
Section titled “Using a CDN”You can either download the coherent-gameface-interaction-manager from UNPKG or jsDelivr
and then include it to your HTML
<script src="interaction-manager.min.js"></script>
or you can include it directly as a CDN link
<script src="https://unpkg.com/coherent-gameface-interaction-manager/dist/interaction-manager.min.js"></script>