void Flush()

robot_2Generated
code_blocksInput

Description

The Flush method in the GameTags class is marked as obsolete. It was previously used to apply any pending changes to the tags of a game object. However, this method is no longer necessary as tags are now set immediately when they are modified.

Usage

Since the Flush method is obsolete, it should not be used in new code. Any existing code that calls this method can be safely removed or refactored to directly manipulate tags without needing to flush changes.

Example

// Example of obsolete usage (not recommended)
GameTags gameTags = new GameTags();
// ... some operations on gameTags
// gameTags.Flush(); // No longer needed, tags are set immediately