Finished Creating Weapon Stat UI for all Weapons

This commit is contained in:
MH261677 2023-10-19 15:30:39 +01:00
parent c68c1b70dc
commit feeb0f36d6
5 changed files with 15 additions and 14 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:63a33ee4cfad25c36bd022a8723b9b6ff80d70127366efa8983549044fd1f8ac oid sha256:f7cb927b0b7296205adad620a38f473c36b2ee787fa7d4c6b12009a4aaf549e9
size 39198 size 40029

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:e657a0654a07a7573dcf638c96b9aa133cb1187ec301825e177dede83106db40 oid sha256:c5ee53e7d84e4e0a3a6941011ad8a3c2718afe0bad7e95cf23f7cc1063476f53
size 126851 size 124677

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:10ebd683496c3f12941f3983445288dce63f61464dea90cf666d51f7faf23919 oid sha256:dc183a9d9781ca6800fa345b6428f7bf41953180f79e74b96c894a33b9d789e9
size 64526 size 64773

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:9d594f98e9965fee6c2321d2688890d8d745b135621247d2a34ca8a2f9d7935a oid sha256:a45878c4f97b973894f65722a55015a06cb6acc25e913c9d4045fd4532176701
size 83652 size 192580

View File

@ -54,22 +54,23 @@ public:
// Called every frame // Called every frame
virtual void Tick(float DeltaTime) override; virtual void Tick(float DeltaTime) override;
void ReloadTimer(); void ReloadTimer();
UPROPERTY(EditAnywhere)
FName WeaponName; UPROPERTY(EditAnywhere, BlueprintReadWrite)
FString WeaponName;
UPROPERTY(EditAnywhere) UPROPERTY(EditAnywhere, BlueprintReadWrite)
int WeaponDamage; int WeaponDamage;
UPROPERTY(EditAnywhere) UPROPERTY(EditAnywhere, BlueprintReadWrite)
FString WeaponDescription; FString WeaponDescription;
UPROPERTY(EditAnywhere) UPROPERTY(EditAnywhere, BlueprintReadWrite)
float FireRate; float FireRate;
UPROPERTY(EditAnywhere, BlueprintReadWrite) UPROPERTY(EditAnywhere, BlueprintReadWrite)
int MagazineSize; int MagazineSize;
UPROPERTY(EditAnywhere) UPROPERTY(EditAnywhere, BlueprintReadWrite)
float TimeToReload = 3.f; float TimeToReload = 3.f;
//how many bullets until the recoil stops going up //how many bullets until the recoil stops going up