//load the data from db prefabs private static void LoadPrefab() { DamageTableDB db = DamageTableDB.LoadDB(); armorTypeList = db.armorTypeList; damageTypeList = db.damageTypeList; }
public static void LoadDamageTable() { damageTableDB = DamageTableDB.LoadDB(); UpdateLabel_DamageTable(); TDSEditorWindow.SetDamageDB(damageTableDB, damageTypeLabel, armorTypeLabel); TDSEditorInspector.SetDamageDB(damageTableDB, damageTypeLabel, armorTypeLabel); }