Navigation
API > API/Plugins > API/Plugins/SmartObjectsModule > API/Plugins/SmartObjectsModule/USmartObjectSubsystem
References
| Module | SmartObjectsModule |
| Header | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Public/SmartObjectSubsystem.h |
| Include | #include "SmartObjectSubsystem.h" |
| Source | /Engine/Plugins/Runtime/SmartObjects/Source/SmartObjectsModule/Private/SmartObjectSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="SmartObject")
bool SetSlotEnabled
(
const FSmartObjectSlotHandle SlotHandle,
const bool bEnabled
)
Remarks
Enables or disables the smart object slot represented by the provided handle. Previous enabled state.
Parameters
| Name | Description |
|---|---|
| SlotHandle | Handle to the smart object slot. |
| bEnabled | If true enables the slot, if false, disables the slot. |