IEnumerable<string> TryGetAll()
IEnumerable<string> TryGetAll( bool includeAncestors )

robot_2Generated
code_blocksInput

Description

The TryGetAll method in the GameTags class is used to retrieve all the tags associated with a particular game object. This method is part of the Sandbox namespace and is designed to provide a comprehensive list of tags that have been assigned to the object.

Usage

To use the TryGetAll method, you need to have an instance of a game object that has tags associated with it. You can call this method to get an enumerable collection of strings, each representing a tag.

Example usage:

GameTags gameTags = new GameTags();
IEnumerable<string> tags = gameTags.TryGetAll();
foreach (string tag in tags)
{
    // Process each tag
}

Example

GameTags gameTags = new GameTags();
IEnumerable<string> tags = gameTags.TryGetAll();
foreach (string tag in tags)
{
    // Process each tag
}