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

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

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