public static IEnumerator RestartARSession() { ARManager.DestroyCurrentARSession(); yield return(null); ARManager.AssignNewARSession(Instantiate((GameObject)Resources.Load("AR Session"))); ARManager.SetPlaneManagerActive(false); }