string Icon { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Icon property of the GroupAttribute class is used to specify an icon associated with a group or category. This icon can be used in user interfaces to visually represent the group, enhancing the user experience by providing a graphical representation of the group or category.

Usage

To use the Icon property, you need to set it when applying the GroupAttribute to a class or member. The value should be a string that represents the path or identifier of the icon you wish to associate with the group.

Example

[Group("Gameplay", Icon = "game_icon.png")]
public class PlayerController : Component
{
    // Class implementation
}