private static void LoadPrefab() { DamageTableDB prefab = DamageTableDB.LoadDB(); armorTypeList = prefab.armorTypeList; damageTypeList = prefab.damageTypeList; }
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; }