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