GameplayTags in Unreal Engine

Words: 103

To tag objects in a game, Unreal Engine introduced the GameplayTags system. GameplayTags is a string-based tagging system used to classify and identify objects within a game.

It uses strings separated by . to mark parent-child structures. With a tag like Character.Enemy.Zombie, you can conveniently mark an object as three types at once: Character, the Enemy under Character, and the Zombie under Enemy. The FGameplayTagContainer container enables fast tag queries and operations across the tree structure.

References

This post contains some AI-assisted content, reviewed and edited by the author before publishing.
This post is licensed under CC BY-NC-SA 4.0. If it helped, or if you have anything to say, the comment box below is open.
Page views —
Unique visitors —

Loading...