예제 #1
0
    private void InitLevelBuilder()
    {
        int LevelSize = LevelMapDirector.GetLevelSize();

        Builder = new LevelBuilder ();
        Builder.SetLevelSize (LevelSize);
        Builder.BuildLevelGrid ();
        Builder.BuildLevelBorder ();

        GameObject WeaponFactoryObject = GameObject.Find("WeaponManager");
        WeaponDirector = WeaponFactoryObject.GetComponent<WeaponsManager>();
    }