System.String[] Value { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Value property of the TagAttribute class represents the tags associated with a particular type or member. This property is an array of strings, allowing multiple tags to be assigned. These tags can be used for categorization, filtering, or any other purpose where tagging is beneficial.

Usage

To use the Value property, you need to create an instance of the TagAttribute class and assign the desired tags as a string array. This property is publicly accessible and can be set or retrieved as needed.

Example

// Example of using the TagAttribute with the Value property
[TagAttribute(Value = new string[] { "Player", "NPC", "Enemy" })]
public class Character : GameObject
{
    // Class implementation
}