Ejemplo n.º 1
0
            public static CameraKeyFrame currentCamera()
            {
                CameraKeyFrame cam = new CameraKeyFrame();

                cam.m_StartPos              = Cameras.MainCamera().transform.position;
                cam.m_StartRot              = Cameras.MainCamera().transform.rotation;
                cam.m_StartPivot            = PointsOfView.m_Pivot;
                cam.m_StartOrthographicSize = Cameras.GetOrthographicSize();
                return(cam);
            }