Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/TTypeContainer
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/TypeContainer.h |
Include | #include "Misc/TypeContainer.h" |
template<class R, class T>
void RegisterInstance
&40;
const TSharedRef< T, Mode > & Instance
&41;
Remarks
Registers an existing instance for the specified class.
Parameters
Name | 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. |