async void RestartWebcam() { BTN_Restart.interactable = false; scriptsCamera.StopWebcam(); await Task.Delay(3000); scriptsCamera.StartWebcam(delegate { BTN_Restart.interactable = true; }); }
public void StartAR2D() { scriptsCamera.StartWebcam(); }