steamvr_unity_plugin
steamvr_unity_plugin copied to clipboard
What's the purpose of these field?
In the picture, there is a field——active, in script like this:
But it does not have any script references!! And the Script itself doesn't make any Laser Pointer shows up, please check that, Thank you!
As already replied here: https://answers.unity.com/questions/1455089/vive-laser-pointer-turn-off.html by mesadigitaldesign, this has an easy fix:
if(active != isActive)
{
isActive = active;
pointer?.SetActive(isActive);
}
if(!isActive)
return;
Thanks for the report and fix. It'll be in the next release.