Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/FSmartObjectRuntime > API/Plugins/SmartObjectsModule/FSmartObjectRuntime/SetEnabled
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectRuntime.h |
| Include | #include "SmartObjectRuntime.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectRuntime.cpp |
void SetEnabled
(
FGameplayTag ReasonTag,
bool bEnabled
)
Remarks
Enables or disables the entire smart object.
Parameters
| Name | Description |
|---|---|
| ReasonTag | Valid Tag to specify the reason for changing the enabled state of the object. Method will ensure if not valid (i.e. None). |
| bEnabled | Flag indicating if the object should be enable or not. |