Exemplo n.º 1
0
        public override bool CouldMoveTo(Vector2 moveTo)
        {
            if (LoadingMgr.Inst.runTimeLoaderType == RunTimeLoaderType.Editor)
            {
                return(base.CouldMoveTo(moveTo));
            }

            return(Math_F.IsPointInPolygon(moveTo, cameraArea));
        }