diff --git a/assets/Data/eng.json b/assets/Data/eng.json new file mode 100644 index 0000000..cc35c2e --- /dev/null +++ b/assets/Data/eng.json @@ -0,0 +1,14 @@ +{ + "WEAPON_LENGTH_TITLE": "", + "WEAPON_LENGTH_DESC": "", + "WEAPON_DAMAGE_TITLE": "", + "WEAPON_DAMAGE_DESC": "", + "HORIZONTAL_PROJECTILE_TITLE": "", + "HORIZONTAL_PROJECTILE_DESC": "", + "DIAGONAL_PROJECTILE_TITLE": "", + "DIAGONAL_PROJECTILE_DESC": "", + "HALO_PROJECTILE_TITLE": "", + "HALO_PROJECTILE_DESC": "", + "REGENERATION_TITLE": "", + "REGENERATION_DESC": "" +} \ No newline at end of file diff --git a/assets/Data/eng.json.meta b/assets/Data/eng.json.meta new file mode 100644 index 0000000..48776ec --- /dev/null +++ b/assets/Data/eng.json.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.0.0", + "importer": "json", + "imported": true, + "uuid": "7d43843c-0765-427c-9161-2fd9030369c8", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/Scripts/Game/UI/LevelUpWindow/LevelUpSkill.ts b/assets/Scripts/Game/UI/LevelUpWindow/LevelUpSkill.ts index f7758c5..214517f 100644 --- a/assets/Scripts/Game/UI/LevelUpWindow/LevelUpSkill.ts +++ b/assets/Scripts/Game/UI/LevelUpWindow/LevelUpSkill.ts @@ -12,7 +12,7 @@ export class LevelUpSkill extends Component { public init(skillType: UpgradeType): void { this.skillType = skillType; - this.skillTitle.string = `Skill ${skillType}`; + this.skillTitle.string = `${skillType}`; this.node.on(NodeEventType.MOUSE_DOWN, this.chooseSkill, this); } diff --git a/assets/Scripts/Game/Upgrades/UpgradeType.ts b/assets/Scripts/Game/Upgrades/UpgradeType.ts index afd09cc..1a3e880 100644 --- a/assets/Scripts/Game/Upgrades/UpgradeType.ts +++ b/assets/Scripts/Game/Upgrades/UpgradeType.ts @@ -1,10 +1,10 @@ export enum UpgradeType { - WeaponLength, - WeaponDamage, - HorizontalProjectile, - DiagonalProjectile, - HaloProjectlie, - Regeneration + WeaponLength = "WEAPON_LENGTH", + WeaponDamage = "WEAPON_DAMAGE", + HorizontalProjectile = "HORIZONTAL_PROJECTILE", + DiagonalProjectile = "DIAGONAL_PROJECTILE", + HaloProjectlie = "HALO_PROJECTILE", + Regeneration = "REGENERATION" } export enum MetaUpgradeType {