Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UNetObjectFactory
Description
Optional callback triggered at the end of the instantiation process and before any replicated properties were applied. Useful to apply any additional data included with the header or to signal the new object to other systems.
| Name | PostInstantiation |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/NetObjectFactory.h |
| Include Path | #include "Iris/ReplicationSystem/NetObjectFactory.h" |
virtual void PostInstantiation
(
const FPostInstantiationContext & Context
)
Parameters
| Name | Remarks |
|---|---|
| Context | Gives you access to the new object and the header it was created from. |