steamvr_unity_plugin icon indicating copy to clipboard operation
steamvr_unity_plugin copied to clipboard

What's the purpose of these field?

Open duanyunlun opened this issue 5 years ago • 2 comments

image In the picture, there is a field——active, in script like this: image 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!

duanyunlun avatar Aug 14 '20 06:08 duanyunlun

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;

mikelgg93 avatar Jun 13 '21 10:06 mikelgg93

Thanks for the report and fix. It'll be in the next release.

keithbradner avatar Jun 29 '21 19:06 keithbradner