Пример #1
0
        //load the data from db prefabs
        private static void LoadPrefab()
        {
            DamageTableDB db = DamageTableDB.LoadDB();

            armorTypeList  = db.armorTypeList;
            damageTypeList = db.damageTypeList;
        }
Пример #2
0
        public static void LoadDamageTable()
        {
            damageTableDB = DamageTableDB.LoadDB();
            UpdateLabel_DamageTable();

            TDSEditorWindow.SetDamageDB(damageTableDB, damageTypeLabel, armorTypeLabel);
            TDSEditorInspector.SetDamageDB(damageTableDB, damageTypeLabel, armorTypeLabel);
        }