なんだかんだよく使うのでメモ
#include "Kismet/GameplayStatics.h"
#include "GameFramework/GameStateBase.h"
AGameStateBase* ATestGetGameStateActor::GetGameStateBase()
{
return UGameplayStatics::GetGameState(this);
}
なんだかんだよく使うのでメモ
#include "Kismet/GameplayStatics.h"
#include "GameFramework/GameStateBase.h"
AGameStateBase* ATestGetGameStateActor::GetGameStateBase()
{
return UGameplayStatics::GetGameState(this);
}