Minor - Bullet Spawning Method
La méthode est quasiment finie, il reste juste un pb au niveau de l'objet/la classe à appeler.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "M4_Projectile.h"
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/Pawn.h"
|
||||
#include "InputAction.h"
|
||||
@@ -11,6 +12,7 @@ UCLASS()
|
||||
class AM4_PlayerPawn : public APawn
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
AM4_PlayerPawn();
|
||||
|
||||
@@ -31,6 +33,9 @@ protected:
|
||||
UPROPERTY()
|
||||
UInputAction* ShootAction;
|
||||
|
||||
UPROPERTY(VisibleAnywhere)
|
||||
AM4_Projectile* Proj;
|
||||
|
||||
//bool HasShot = false;
|
||||
float MoveSpeed = 500.f;
|
||||
FVector2D MeshScale = FVector2D(0.6f, 0.5f);
|
||||
|
||||
Reference in New Issue
Block a user