16 lines
612 B
C++
16 lines
612 B
C++
|
|
// Copyright PICO Technology Co., Ltd. All rights reserved.
|
||
|
|
// This plugin incorporates portions of the Unreal® Engine. Unreal® is a trademark or registered trademark of Epic Games, Inc. in the United States of America and elsewhere.
|
||
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#include "PXR_EventManager.h"
|
||
|
|
|
||
|
|
static UPICOXREventManager* EventManagerInstance = nullptr;
|
||
|
|
UPICOXREventManager* UPICOXREventManager::GetInstance()
|
||
|
|
{
|
||
|
|
if (EventManagerInstance == nullptr)
|
||
|
|
{
|
||
|
|
EventManagerInstance = NewObject<UPICOXREventManager>();
|
||
|
|
EventManagerInstance->AddToRoot();
|
||
|
|
}
|
||
|
|
return EventManagerInstance;
|
||
|
|
}
|