Navigation
API > API/Plugins > API/Plugins/MassSmartObjects
Inheritance Hierarchy
- UObject
- UMassEntityTraitBase
- UMassSmartObjectUserTrait
References
| Module | MassSmartObjects |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSmartObjects/Public/MassSmartObjectUserTrait.h |
| Include | #include "MassSmartObjectUserTrait.h" |
Syntax
UCLASS (Meta=(DisplayName="SmartObject User"))
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. |