Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectComponent
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectComponent.h |
| Include | #include "SmartObjectComponent.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectComponent.cpp |
UFUNCTION (BlueprintCallable, Category="SmartObject",
Meta=(DisplayName="Is SmartObject Enabled (for specific reason)", ReturnDisplayName="Enabled"))
bool IsSmartObjectEnabledForReason
(
FGameplayTag ReasonTag
) const
Remarks
Returns the enabled state of the smart object based on a specific reason. True when associated smart object is set to be enabled. False otherwise.
Parameters
| Name | Description |
|---|---|
| ReasonTag | Valid Tag to test if enabled for a specific reason. Method will ensure if not valid (i.e. None). |