예제 #1
0
    void Start()
    {
        enemiesLeft = NumberOfEnemies;
        WeaponList  = new Weapon[2];
        SetWeapons();

        InitUnits();

        if (LevelSel == 3)
        {
            sizeMapX = 13;
        }

        PathScript = GetComponent <PathFinding>();
        InitiateMap(LevelSel);
        GenerateMapVisual();

        PathScript.AwakePathFinding();
    }