Пример #1
0
    void OnGUI()
    {
        Slides currentSlides = FlowControl.GetCurrentSlides();

        if (currentSlides.CurrentSlide().GetSlideState() == Slide.SlideState.AR)
        {
            TurnOnAR();
        }
        else
        {
            TurnOffAR();
        }
    }