unreal.GameplayTagAssetInterface
¶
-
class
unreal.
GameplayTagAssetInterface
(outer=None, name='None')¶ Bases:
unreal.Interface
Gameplay Tag Asset Interface
C++ Source:
Module: GameplayTags
File: GameplayTagAssetInterface.h
Get any owned gameplay tags on the asset
- Returns
tag_container (GameplayTagContainer):
- Return type
Check if the asset has gameplay tags that matches against all of the specified tags (expands to include parents of asset tags)
- Parameters
tag_container (GameplayTagContainer) – Tag container to check for a match
- Returns
True if the asset has matches all of the gameplay tags, will be true if container is empty
- Return type
Check if the asset has gameplay tags that matches against any of the specified tags (expands to include parents of asset tags)
- Parameters
tag_container (GameplayTagContainer) – Tag container to check for a match
- Returns
True if the asset has matches any of the gameplay tags, will be false if container is empty
- Return type
-
has_matching_gameplay_tag
(tag_to_check) → bool¶ Check if the asset has a gameplay tag that matches against the specified tag (expands to include parents of asset tags)
- Parameters
tag_to_check (GameplayTag) – Tag to check for a match
- Returns
True if the asset has a gameplay tag that matches, false if not
- Return type