Exemple #1
0
        public void PathfindingSetDrawNavmesh(bool drawNavmesh)
        {
            MyRDPathfinding pathfinding = this.m_pathfinding as MyRDPathfinding;

            if (pathfinding != null)
            {
                pathfinding.SetDrawNavmesh(drawNavmesh);
            }
        }
 public void PathfindingSetDrawNavmesh(bool drawNavmesh)
 {
     MyRDPathfinding pf = m_pathfinding as MyRDPathfinding;
     if (pf != null)
         pf.SetDrawNavmesh(drawNavmesh);
 }