Started adding basic UI on weapons
This commit is contained in:
parent
9e09c569db
commit
4be68e91a5
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:4febec5729a36774fbc7932a6fec983a74cc9cfac901f131fcbdafe3da17205c
|
oid sha256:a0da36d309ab31edb443cdd04c208688f52f31579e51532a942a226e3a043a41
|
||||||
size 29846
|
size 31530
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:40e8a310391b4641f53daf2e8608e0597638df604749d0db465d4917b0cba8f3
|
||||||
|
size 50441
|
@ -54,14 +54,17 @@ public:
|
|||||||
UPROPERTY(EditAnywhere)
|
UPROPERTY(EditAnywhere)
|
||||||
float FireRate;
|
float FireRate;
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere)
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||||
int MagazineSize;
|
int MagazineSize;
|
||||||
|
|
||||||
//how many bullets until the recoil stops going up
|
//how many bullets until the recoil stops going up
|
||||||
UPROPERTY(EditAnywhere)
|
UPROPERTY(EditAnywhere)
|
||||||
int howMnyShotsTillRclStop;
|
int howMnyShotsTillRclStop;
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere)
|
UPROPERTY(BlueprintReadWrite)
|
||||||
|
int currentAmmoCount;
|
||||||
|
|
||||||
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||||
UTexture2D* WeaponImage;
|
UTexture2D* WeaponImage;
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere, Category = "ScopedFire")
|
UPROPERTY(EditAnywhere, Category = "ScopedFire")
|
||||||
@ -153,8 +156,6 @@ private:
|
|||||||
float originalMaxAngleRight;
|
float originalMaxAngleRight;
|
||||||
float originalMinMultiplier;
|
float originalMinMultiplier;
|
||||||
|
|
||||||
int currentAmmoCount;
|
|
||||||
|
|
||||||
float currentPitch;
|
float currentPitch;
|
||||||
bool bStopShooting = false;
|
bool bStopShooting = false;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user