Compare commits
No commits in common. "a5ae074c2b80a565d22531c5ce119196e90bc85b" and "4e04a7e8226198a5752e9a1b73431459b32bbedd" have entirely different histories.
a5ae074c2b
...
4e04a7e822
@ -8,8 +8,8 @@ public class vampiresTarget : TargetRules
|
|||||||
public vampiresTarget(TargetInfo Target) : base(Target)
|
public vampiresTarget(TargetInfo Target) : base(Target)
|
||||||
{
|
{
|
||||||
Type = TargetType.Game;
|
Type = TargetType.Game;
|
||||||
DefaultBuildSettings = BuildSettingsVersion.Latest;
|
DefaultBuildSettings = BuildSettingsVersion.V5;
|
||||||
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
|
IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_4;
|
||||||
ExtraModuleNames.AddRange( new string[] { "vampires" } );
|
ExtraModuleNames.AddRange( new string[] { "vampires" } );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
#include "Weapon.h"
|
#include "Weapon.h"
|
||||||
|
|
||||||
#include "EXPComponent.h"
|
#include "EXPComponent.h"
|
||||||
#include "Kismet/GameplayStatics.h"
|
|
||||||
|
|
||||||
// Sets default values
|
// Sets default values
|
||||||
AWeapon::AWeapon()
|
AWeapon::AWeapon()
|
||||||
@ -29,12 +28,7 @@ void AWeapon::ResetWeaponTimer()
|
|||||||
|
|
||||||
void AWeapon::FireWeaponAction_Implementation()
|
void AWeapon::FireWeaponAction_Implementation()
|
||||||
{
|
{
|
||||||
// This should be overridden in child weapon classes
|
// This should be overridden in child weapon classes
|
||||||
|
|
||||||
if (WeaponActivatedSoundBase)
|
|
||||||
{
|
|
||||||
UGameplayStatics::PlaySound2D(GetWorld(), WeaponActivatedSoundBase);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AWeapon::UpgradeWeapon_Implementation()
|
bool AWeapon::UpgradeWeapon_Implementation()
|
||||||
|
@ -8,8 +8,8 @@ public class vampiresEditorTarget : TargetRules
|
|||||||
public vampiresEditorTarget(TargetInfo Target) : base(Target)
|
public vampiresEditorTarget(TargetInfo Target) : base(Target)
|
||||||
{
|
{
|
||||||
Type = TargetType.Editor;
|
Type = TargetType.Editor;
|
||||||
DefaultBuildSettings = BuildSettingsVersion.Latest;
|
DefaultBuildSettings = BuildSettingsVersion.V5;
|
||||||
IncludeOrderVersion = EngineIncludeOrderVersion.Latest;
|
IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_4;
|
||||||
ExtraModuleNames.AddRange( new string[] { "vampires" } );
|
ExtraModuleNames.AddRange( new string[] { "vampires" } );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user