Пример #1
0
    // Use this for initialization
    void Start()
    {
        AllSkills = new List <Skill>();
        AllSkills = LoadMageSkills(AllSkills);
        AllSkills = LoadRogueSkills(AllSkills);
        AllSkills = LoadWarriorSkils(AllSkills);

        _mage = new Mage();
        _mage.CustomInitialize();
        _rogue = new Rogue();
        _rogue.CustomInitialize();
        _warrior = new Warrior();
        _warrior.CustomInitialize();

        _twinDaggers = new TwinDaggers();
        _manaStrike  = new ManaStrike();
        _axeSlash    = new AxeSlash();

        OnRogueButton1Clicked(1);
        OnMageButton1Clicked(2);
        OnWarriorButton1Clicked(3);
    }