Hello, I have a slideshow that when the next button is clicked, the next slide is activated. This is all overlayed on top of an Augmented Reality Camera. Attached to the slides are instructions and now I am implementing 3D objects that I need visible (with the camera still working) when the corresponding slide is activated. Here is some code regarding the activation yet the 3D object is still not shown when the corresponding slide is… any help?
private void ShowSlideObjects(int index) { if (index >= 0 && index < slideObjects.Length && slideObjects[index] != null) { slideObjects[index].SetActive(true); // Show objects for the current slide if assigned Debug.Log("Slide Objects Shown for Slide " + index); } } private void HideSlideObjects(int index) { if (index >= 0 && index < slideObjects.Length && slideObjects[index] != null) { slideObjects[index].SetActive(false); // Hide objects for the current slide if assigned Debug.Log("Slide Objects Hidden for Slide " + index); } }