Description
The Texture
property of the EditorHandleAttribute
class specifies the texture to be used for the handle sprite in the editor. This property allows you to define a custom texture that will be displayed as a handle for the associated game object in the scene view.
Usage
To use the Texture
property, apply the EditorHandleAttribute
to a component and set the Texture
property to the desired texture path or name. This will customize the appearance of the handle in the editor.
Example
[EditorHandle(Texture = "path/to/texture.png")]
public class MyComponent : Component
{
// Component implementation
}