Esempio n. 1
0
        private void Start()
        {
            if (GalaxyExplorerManager.Instance.ViewLoaderScript == null)
            {
                Debug.LogError("TransitionManager: No ViewLoader found - unable to process transitions.");
                return;
            }

            GalaxyExplorerManager.Instance.GeFadeManager.OnFadeComplete += OnFadeComplete;

            ZoomInOutBehaviour = FindObjectOfType <ZoomInOut>();
            movingAudio        = FindObjectOfType <MovableAudioSource>();
            transformSource    = FindObjectOfType <TransformSource>();

            defaultSceneRotation = transformSource.transform.rotation;
            defaultSceneScale    = transformSource.transform.localScale;
        }