Пример #1
0
        public static Rect _LimitMenuToAspect(Rect rect)
        {
            if (mainCam == null)
            {
                mainCam = KickStarter.mainCamera;
            }

            if (mainCam != null)
            {
                return(mainCam.LimitMenuToAspect(rect));
            }

            return(rect);
        }