Files
Table-UE/Table/Source/Table/Public/TableIconActor.h
T

37 lines
869 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "TableIconActor.generated.h"
UCLASS()
class TABLE_API ATableIconActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
ATableIconActor();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// If true, GestureAction will not destroy this on EndGesture
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite)
bool bPersistOnActionEnd = false;
// Called by GestureAction on end — BP overrides this for fade/lock behavior
UFUNCTION(BlueprintNativeEvent)
void OnActionEnded();
// Called by GestureAction every tick
UFUNCTION(BlueprintNativeEvent)
void OnActionUpdated();
};