Hey,
Sorry this is probably a really basic question - I’m not a programmer, just doing my best to create a AR App. I’m using the Vuforia AR SDK to detect a few targets - one of the targets I want to have a SkyBox on so what I’ve done is add a skybox to the camera. Obviously this means it’s persistent, so I was hoping someone could suggest how I enable it/disable it with code. Below is where I add the code where it detects different targets, is there a way to just set the SkyBox to visible = true/false?
switch (component.gameObject.name) {
case "Earth":
component.gameObject.animation.Play();
component.gameObject.audio.Play();
break;
}
Any suggestions would be greatly appreciated.
Chris