This commit is contained in:
2023-07-21 08:58:28 +02:00
parent 8906b1a492
commit 77bb47aeb9
77 changed files with 162 additions and 162 deletions

View File

@@ -81,8 +81,8 @@ public:
// Variables
UPROPERTY(BlueprintReadWrite)
FInventory Inventory;
UPROPERTY(BlueprintReadWrite, EditAnywhere)
TArray<FFireworkData> Inventory;
UPROPERTY(BlueprintReadWrite)
APickableObject* HeldObject_R;
@@ -123,9 +123,6 @@ public:
UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
FHitResult CurrentLaserHitR;
UPROPERTY(EditAnywhere, BlueprintReadWrite)
AActor* TeleportVisual;
// How much velocity samples should be recorded for throwing direction approximation
UPROPERTY(EditDefaultsOnly, Category = "Throwing")
int32 VelocitySamples = 5;
@@ -159,14 +156,6 @@ public:
// Approximate throw velocity
FVector ApproximateThrowVelocity(EControllerHand Hand);
// Add firecracker to inventory
UFUNCTION(BlueprintCallable)
void AddToInventory(const FFireworkEntry& Entry);
// Remove firecracker from inventory
UFUNCTION(BlueprintCallable)
void RemoveFromInventory(const FFireworkData& Item);
// ABA ABA
UFUNCTION(BlueprintCallable)
void EnableLaserOnHand(EControllerHand Hand);