Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        conf     = Memory.LoadConfig();
        catCompo = CAT.GetComponent <ClassAffinityType>();
        //ToolBox.FeedDatabases(new string[] { conf.VSPath + "MENU/SHIELD.SYD", conf.VSPath + "MENU/ARMOR.SYD", conf.VSPath + "MENU/BLADE.SYD", conf.VSPath + "MENU/ITEMNAME.BIN", conf.VSPath + "MENU/ITEMHELP.BIN" });
        Grip.GripList();
        Gem.GemList();

        BladeDD.enabled = false;
        GripDD.enabled  = false;
        Gem1DD.enabled  = false;
        Gem2DD.enabled  = false;
        Gem3DD.enabled  = false;
        BladeDD.ClearOptions();
        GripDD.ClearOptions();
        Gem1DD.ClearOptions();
        Gem2DD.ClearOptions();
        Gem3DD.ClearOptions();

        catCompo.RAZ();
        MaterialDD.ClearOptions();
        MaterialDD.AddOptions(new List <string>()
        {
            "Wood", "Leather", "Bronze", "Iron", "Hagane", "Silver", "Damascus"
        });
        WeaponTypeDD.ClearOptions();
        WeaponTypeDD.AddOptions(new List <string>()
        {
            "Weapon Type", "Dagger", "Sword", "Greatwsord", "Axe", "Mace", "Great Axe", "Staff", "Heavy Mace", "Polearm", "Crossbow", "Shield"
        });
    }