Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/TypeContainer.h |
Include |
#include "Misc/TypeContainer.h" |
template<class R, class T>
void RegisterInstance
(
const TSharedRef< T, Mode > & Instance
)
Registers an existing instance for the specified class.
Parameter |
Description |
---|---|
R |
The type of class to register the instance for. |
T |
The type of the instance to register (must be the same as or derived from R). |
Instance |
The instance of the class to register. |