using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace LookingGlass.Demos {
    public class PageConnectHandler : PageHandler {
        protected override void OnNextClicked() {
            controller.OnLoadCalibration();
        }

        private async void OnEnable()
        {
#if UNITY_EDITOR
            nextButton.gameObject.SetActive(true);
#else
            nextButton.gameObject.SetActive(false);
#endif
            if (await DemoIOSUIController.isDisplayConnected())
                OnNextClicked();
        }
    }
}
