mirror of
https://github.com/johndoe6345789/ArenaFPS.git
synced 2026-04-25 14:15:14 +00:00
32 lines
686 B
C++
32 lines
686 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Components/Widget.h"
|
|
|
|
#include "IndicatorLayer.generated.h"
|
|
|
|
class SActorCanvas;
|
|
class SWidget;
|
|
class UObject;
|
|
|
|
UCLASS()
|
|
class UIndicatorLayer : public UWidget
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
public:
|
|
/** Default arrow brush to use if UI is clamped to the screen and needs to show an arrow. */
|
|
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category=Appearance)
|
|
FSlateBrush ArrowBrush;
|
|
|
|
protected:
|
|
// UWidget interface
|
|
virtual void ReleaseSlateResources(bool bReleaseChildren) override;
|
|
virtual TSharedRef<SWidget> RebuildWidget() override;
|
|
// End UWidget
|
|
|
|
protected:
|
|
TSharedPtr<SActorCanvas> MyActorCanvas;
|
|
};
|