Exemplo n.º 1
0
        void Start()
        {
            Debug.Log("Starting scene manager");

            //Warning Start order is important !!!
            InputManager.Start();

            CamerasManager.Start();
            OutputsManager.Start();
        }
Exemplo n.º 2
0
        public void SetOutput(Outputs o)
        {
            switch (o)
            {
            case Outputs.TwoD:
                OutputsManager.ActivateOutputMode("2D");
                break;

            case Outputs.Stereoscopic:
                OutputsManager.ActivateOutputMode("Splitted");
                break;

            case Outputs.Oculus:
                OutputsManager.ActivateOutputMode("Oculus");
                break;

            case Outputs.Cardboard:
                OutputsManager.ActivateOutputMode("3D Splitted");
                break;
            }
        }