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

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

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