예제 #1
0
 protected virtual void CreateNavigation()
 {
     m_Navmesh          = new Navmesh();
     m_Navigator        = new NavigationEngine(m_Navmesh);
     m_Explorer         = new ExploreEngine.Nearest(m_Navmesh, m_Navigator);
     m_Explorer.Enabled = false;
 }
예제 #2
0
파일: Nearest.cs 프로젝트: Ifry/Nav
            public ExploreCellSelector(Nearest explorer)
            {
                this.explorer = explorer;

                if (!explorer.HintPos.IsZero())
                {
                    this.hint_pos = explorer.HintPos;
                }
            }