20 lines
458 B
C++
20 lines
458 B
C++
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Blueprint/UserWidget.h"
|
|
#include "TSUserWidget.generated.h"
|
|
|
|
UCLASS()
|
|
class MINGSIMULATOR_API UTSUserWidget : public UUserWidget
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UFUNCTION(BlueprintCallable, Category = "TypeScript")
|
|
void SetTypeScriptTickFunction(FString FunctionName);
|
|
|
|
virtual void NativeTick(const FGeometry& MyGeometry, float InDeltaTime) override;
|
|
|
|
private:
|
|
FString TSTickFunctionName;
|
|
};
|