Dual Laser
- (1.1) Dual LaserDigital0 JPY
- Support (Same as Above)Digital500 JPY

A simple Drag-N-Drop prefab that allows players to use two lasers with your World UI. Helpful if you have a keyboard or want to enhance multitasking! Included functions for U# for your own usage.
Requirements
VRChat SDK - Base (tested with 3.2.3) VRChat SDK - Worlds (tested with 3.2.3) UdonSharp 1.0+ (U#) (tested with 1.1.9) You can install these using the VRChat Creator Companion.
Installation
Ensure you have the requirements! Import the unity package, and drag the prefab into your world's scene. Drag-N-Drop! You can add a canvas to the whitelist if you only want that UI to have both lasers. Leave blank to allow all UI.
Coding Tips
Make sure to import the namespace to access the reference and methods! using BobyStar.DualLaser; The GetPointerRay has an overload for specifying a hand. You can use the opposite of ActiveHand to get the off-hand. You can use the Ray outputted from GetPointerRay for other purposes like positioning a menu to spawn in front of the UI laser. Use the IsLeftHandActive bool for conditional statements dealing with different hands.
Patch Notes
(1.1) - GetPointerRay Fix - GetPointerRay would always give you the offhand ray if the isSmoothed input was left true. It now provides the correct ray for the input hand and defaults to the active hand.