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