Example #1
0
        private static void LoadPrefab()
        {
            DamageTableDB prefab = DamageTableDB.LoadDB();

            armorTypeList  = prefab.armorTypeList;
            damageTypeList = prefab.damageTypeList;
        }
Example #2
0
        public static void LoadDamageTable()
        {
            damageTableDB = DamageTableDB.LoadDB();
            UpdateLabel_DamageTable();

            TBEditorWindow.SetDamageDB(damageTableDB, damageTypeLabel, armorTypeLabel);
            TBEditorInspector.SetDamageDB(damageTableDB, damageTypeLabel, armorTypeLabel);
        }
Example #3
0
 public static void SetDamageDB(DamageTableDB db, string[] dmgLabel, string[] armLabel)
 {
     damageTableDB   = db;
     damageTypeLabel = dmgLabel;
     armorTypeLabel  = armLabel;
 }