A small update with some useful features…
2.01 Release Notes –
- maxObjectsToHit default is now 1
- OnCreateLineRenderer(LineRenderer lineRenderer) event so you can grab the LineRenderer when you shoot
- Uses OnWeaponRaycastSpawn’s OnCreateLineRenderer event to grab the newly created LineRenderer and attach a light to it.
- Instantiates (if you choose to) a specified GameObject and parents it to the LineRender that is returned from OnWeaponRaycastSpawn’s OnCreateLineRenderer event.
- The GameObject now moves along and rotates properly with the LineRenderer. It’s position will now be between the start and end of the line.
The update for 2.0 is out! You can buy it here on my site or through the Asset Store!
I’ll have the docs for this package online. You can take a look at them here
Edit: Link and docs updated.