예제 #1
0
        /// <summary>
        /// 判断Context是否存在且无误
        /// </summary>
        /// <param name="bEnabled"></param>
        public override bool CheckContext(CameraContext context)
        {
            AnimCamContext _context = context as AnimCamContext;

            if (_context != null && _context.clip != null)
            {
                return(true);
            }
            else
            {
                CameraUtil.LogError("_context.clip is null! : " + _context);
                return(false);
            }
        }