aframe-shooter-component
v1.0.0
Published
A A-Frame Simple Shooter kit component for A-Frame.
Downloads
8
Maintainers
Readme
aframe-shooter-component
A A-Frame Simple Shooter kit component for A-Frame.
For A-Frame.
API
| Property | Description | Default Value | | -------- | ----------- | ------------- | | | | |
Installation
Browser
Install and use by directly including the browser files:
<head>
<title>My A-Frame Scene</title>
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-shooter-component/dist/aframe-shooter-component.min.js"></script>
</head>
<body>
<a-scene>
<a-entity shooter="foo: bar"></a-entity>
</a-scene>
</body>
npm
Install via npm:
npm install aframe-shooter-component
Then require and use.
require('aframe');
require('aframe-shooter-component');