How would someone do this? I've tried scripting this but it never seems to work for me. I've been working on this for a few hours, but there's no simple explanation available, it seems.
The reason I need this is because I have someone who wants to be able to edit a 'virtual tour' - a gallery with custom-loaded art items and customizable text overlays (i.e. hotspot labels) after it has been output to HTML5/WebGL, and while I've managed to figure out how to load textures from a URL, for whatever reason getting this to work for hotspot labels is causing all sorts of issues for me.
I just thought I'd throw this out there and see if anyone here has already done something like this, and (perhaps) could assist with solving this problem.
Comments
However, if the script is attached to the same Hotspot you wish to affect, you can just use GetComponent: