예제 #1
0
        public static int GetInt(INT_DATA_TYPE type, int userIndex = 0)
        {
            switch (type)
            {
            case INT_DATA_TYPE.BoneCount:
                return(CVInterface.GetBoneCount());

            case INT_DATA_TYPE.UserCount:
                return(CVInterface.GetUserCount());

            case INT_DATA_TYPE.ScreenWidth:
                return(Screen.width);

            case INT_DATA_TYPE.ScreenHeight:
                return(Screen.height);

            default:
                return(0);
            }
        }