You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
17 lines
608 B
C++
17 lines
608 B
C++
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#include "IAnimationDataControllerModule.h"
|
||
|
|
#include "AnimDataController.h"
|
||
|
|
#include "UObject/StrongObjectPtr.h"
|
||
|
|
|
||
|
|
class FAnimationDataControllerModule : public IAnimationDataControllerModule
|
||
|
|
{
|
||
|
|
virtual TScriptInterface<IAnimationDataController> GetController(UObject* Outer = GetTransientPackage()) override
|
||
|
|
{
|
||
|
|
check(Outer);
|
||
|
|
UAnimDataController* AnimController = NewObject<UAnimDataController>(Outer);
|
||
|
|
return TScriptInterface<IAnimationDataController>(AnimController);
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
IMPLEMENT_MODULE(FAnimationDataControllerModule, AnimationDataController);
|