Implemented Vision Ping Aesthetics
This commit is contained in:
parent
aaf871a09b
commit
26d4540541
BIN
EndlessVendetta/Content/Gadgets/GM_GadgetManager.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/Gadgets/GM_GadgetManager.uasset
(Stored with Git LFS)
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c7476ad83f760b9ab01ae4bc5bd971547272aef79234dc3c6c7e95e6fe479ed
|
||||
size 55727
|
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:59ff02b276113b95bc87df4b6682afd88ef311ecce46f79516178d343280e5d8
|
||||
size 197865
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4bbd7da449cdfa4525a6526bfde4f568844837d44d8cea802654c2376671022c
|
||||
size 14020814
|
||||
oid sha256:169c97efdea6ae14981bcaf6147ba24f285a108423c3082d4df76446641aaa1a
|
||||
size 14020766
|
||||
|
BIN
EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
EndlessVendetta/Content/StarterContent/Blueprints/Blueprint_CeilingLight.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/StarterContent/Blueprints/Blueprint_CeilingLight.uasset
(Stored with Git LFS)
Binary file not shown.
@ -0,0 +1,18 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
|
||||
#include "VisionPulse.h"
|
||||
|
||||
void AVisionPulse::Activate()
|
||||
{
|
||||
if (GadgetCantBeUsed()) return;
|
||||
Super::Activate();
|
||||
SendOutPulse();
|
||||
//try to unequip for a easier user experience
|
||||
}
|
||||
|
||||
void AVisionPulse::FinishedUsing()
|
||||
{
|
||||
Super::FinishedUsing();
|
||||
DisplayCooldown(CooldownTime);
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "EndlessVendetta/GadgetSystem/ReconGadget.h"
|
||||
#include "VisionPulse.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class ENDLESSVENDETTA_API AVisionPulse : public AReconGadget
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
void Activate() override;
|
||||
|
||||
void FinishedUsing() override;
|
||||
|
||||
protected:
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
void SendOutPulse();
|
||||
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
void DisplayCooldown(float CooldownLength);
|
||||
|
||||
|
||||
|
||||
};
|
Loading…
Reference in New Issue
Block a user