void OnDragHover( Editor.Widget/DragEvent ev )

book_4_sparkGenerated
code_blocksInput

Description

The OnDragHover method is a virtual method in the Editor.ComponentSheet class. It is designed to handle drag hover events within the component sheet, which is part of the user interface for editing a component's properties in the GameObjectInspector.

Usage

To use the OnDragHover method, you should override it in a derived class of Editor.ComponentSheet if you need to customize the behavior when a drag event hovers over the component sheet. The method takes a single parameter of type Editor.Widget/DragEvent, which contains information about the drag event.

Example

public class CustomComponentSheet : Editor.ComponentSheet
{
    public override void OnDragHover(Editor.Widget.DragEvent ev)
    {
        // Custom logic for handling drag hover event
        // For example, you might want to highlight the component sheet
        // or provide visual feedback to the user.
    }
}