Space Plunder
Loading...
Searching...
No Matches
STE_PlayerTracker.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "StateTreeEvaluatorBase.h"
6#include "STE_PlayerTracker.generated.h"
7
8
9USTRUCT()
11{
12 GENERATED_BODY()
13
14 UPROPERTY(EditAnywhere, Category="Input")
15 FVector PlayerLocation = FVector::ZeroVector;
16};
17
22USTRUCT(meta = (DisplayName = "Player Tracker"))
23struct FStateTreeEvaluator_PlayerTracker : public FStateTreeEvaluatorCommonBase
24{
25 GENERATED_BODY()
26
28 virtual const UStruct* GetInstanceDataType() const override { return FInstanceDataType::StaticStruct(); }
29
30 virtual void TreeStart(FStateTreeExecutionContext& Context) const override;
31 virtual void TreeStop(FStateTreeExecutionContext& Context) const override;
32
33 virtual void Tick(FStateTreeExecutionContext& Context, const float DeltaTime) const override;
34
35 UPROPERTY(EditAnywhere, Category="Output")
36 FVector PlayerLocation = FVector::ZeroVector;
37
38};
Definition STE_PlayerTracker.h:24
Definition STE_PlayerTracker.h:11