Navigation
API > API/Plugins > API/Plugins/MassSmartObjects
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMassEntityTraitBase
- UMassSmartObjectUserTrait
References
| Module | MassSmartObjects |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Public/MassSmartObjectUserTrait.h |
| Include | #include "MassSmartObjectUserTrait.h" |
Syntax
UCLASS&40;Meta&61;&40;DisplayName&61;"SmartObject User"&41;&41;
class UMassSmartObjectUserTrait : public UMassEntityTraitBase
Remarks
Trait to allow an entity to interact with SmartObjects
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGameplayTagContainer | UserTags | Tags describing the SmartObject user. Used when searching smart objects. |
Overridden from UMassEntityTraitBase
| Type | Name | Description | |
|---|---|---|---|
| void | BuildTemplate
(
FMassEntityTemplateBuildContext& BuildContext, |
Appends items into the entity template required for the trait. |