Nakatomi/Source/Nakatomi/NakatomiGameInstance.cpp

9 lines
368 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#include "NakatomiGameInstance.h"
UNakatomiAIAttackTokenManager* UNakatomiGameInstance::GetAIAttackTokenManager()
{
return IsValid(AIAttackTokenManager) ? AIAttackTokenManager : (AIAttackTokenManager = NewObject<UNakatomiAIAttackTokenManager>(this, TEXT("AI Attack Token Manager")));
}