Navigation
API > API/Plugins > API/Plugins/WorldConditions > API/Plugins/WorldConditions/FWorldConditionBase
Description
Initializes the condition to be used with a specific schema. This is called on PostLoad(), or during editing to make sure the data stays in sync with the schema. This is the place to resolve all the Context Data References, and set bCanCacheResult based on if the context data type.
| Name | Initialize |
| Type | function |
| Header File | /Engine/Plugins/Runtime/WorldConditions/Source/WorldConditions/Public/WorldConditionBase.h |
| Include Path | #include "WorldConditionBase.h" |
| Source | /Engine/Plugins/Runtime/WorldConditions/Source/WorldConditions/Private/WorldConditionBase.cpp |
virtual bool Initialize
(
const UWorldConditionSchema & Schema
)
True if init succeeded.
Parameters
| Name | Remarks |
|---|---|
| Schema | The schema to initialize the condition for. |