PathManager.Start C# (CSharp) 메소드

Start() 공개 메소드

public Start ( ) : void
리턴 void
    void Start()
    {
    }

Usage Example

예제 #1
0
파일: Map.cs 프로젝트: Epicguru/ModernGod
        public void Init()
        {
            if (Initialized)
            {
                return;
            }

            Terrain     = new Terrain(this, 2, 2);
            Buildings   = new BuildingManager(this);
            Generation  = new MapGen(this);
            Characters  = new CharacterManager(this);
            Interaction = new MapInteraction(this);
            Pathing     = new PathManager(4, this);
            Shrubs      = new MapShrubs(this);

            Terrain.Init();
            Buildings.Init();
            Shrubs.Init();
            Generation.Generate();
            Pathing.Start();
            Characters.Init();

            Initialized = true;

            watch.Start();
            for (int i = 0; i < 100; i++)
            {
                Characters.CreateCharacter(new Vector2Int(i), "John");
            }
        }