Ejemplo n.º 1
0
        void OnDestroy()
        {
            if (IsTakeOver)
            {
                takeOverPosition_ = transform.position;
                takeOverRotation_ = transform.rotation;
            }
            else
            {
#if DOWNLOADED_ARFOUNDATION
                LoaderUtility.Deinitialize();
                LoaderUtility.Initialize();
#endif
            }
        }
Ejemplo n.º 2
0
 void OnSceneUnloaded(Scene current)
 {
     LoaderUtility.Deinitialize();
     LoaderUtility.Initialize();
 }
Ejemplo n.º 3
0
 public void BackButtonPressed()
 {
     SceneManager.LoadScene("Menu", LoadSceneMode.Single);
     LoaderUtility.Deinitialize();
 }