ありがとうございます。
一応、できるようになりました。
ちょっと触ってて追加で質問したいことができましたが、それは別の質問スレで行いたいと思います。
UCLASS()
class MYPROJECT_API Utest : public UObject
{
GENERATED_BODY()
public:
Utest();
~Utest();
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Simulation")
int x;
UFUNCTION(BlueprintCallable, Category = "Simulation")
void run();
};
UCLASS(Blueprintable , BlueprintType)
class AMyGameMode : public AGameModeBase
{
GENERATED_BODY()
public:
AMyGameMode();
virtual void BeginPlay() override;
virtual void Tick(float DeltaTime) override;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Simulation")
Utest *s;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Simulation")
int32 aa;
};