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.
Usage
To use the Icon
property, you need to apply the GroupAttribute
to a class or member and set the Icon
property to the desired icon string. This string typically represents the path or identifier of the icon resource.
Example
[Group("Gameplay", Icon = "gameplay_icon.png")]
public class PlayerController : Component
{
// Class implementation
}