unity-webxr-export
unity-webxr-export copied to clipboard
Best way to add controls to package?
Hi,
Apologies for adding one more 'Issue'.
I want to add some custom controls and I've been editing ControllerInteraction script, but it's part of the package and my edits get overwritten.
How can I add to this class (and package in general) properly? The way it's installed and setup, I can't get it out of the Packages folder. I am just wondering how you see it for users to create their own interaction classes without having to replace the entire ControllerInteraction script.
Thanks,
Did you figure this out because i cant do it either. Also there seems to be no way to access classes that are inside the package from a new class outside the package.
if you need to just access classes and methods, you have to define an Assembly Definition Reference that point to the WebXR Assembly Definition. You can try to understand more by searching on Google