Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/TGCObjectScopeGuard
Description
Pure virtual that must be overloaded by the inheriting class. Use this method to serialize any UObjects contained that you wish to keep around.
Virtual Inheritance
- FGCObject::AddReferencedObjects → TGCObjectScopeGuard::AddReferencedObjects
| Name | AddReferencedObjects |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/GCObjectScopeGuard.h |
| Include Path | #include "UObject/GCObjectScopeGuard.h" |
virtual void AddReferencedObjects
(
FReferenceCollector & Collector
)
Parameters
| Name | Remarks |
|---|---|
| Collector | The collector of referenced objects. |