Description
The Icon
property of the EditorHandleAttribute
class specifies the icon to be used for the handle sprite in the editor. This property allows you to define a custom icon that will be displayed in the scene view when the attribute is applied to a component.
Usage
To use the Icon
property, assign a string value representing the path or name of the icon you wish to use. This icon will be displayed in the editor to represent the handle for the associated component.
Example
[EditorHandleAttribute(Icon = "path/to/icon.png")]
public class MyComponent : Component
{
// Component implementation
}