DragAndDrop.SceneDropHandler

Declaration

public delegate DragAndDropVisualMode SceneDropHandler(Object dropUpon, Vector3 worldPosition, Vector2 viewportPosition, Transform parentForDraggedObjects, bool perform);

Parameters

dropUpon Dragged Game Object that is being dropped into the Scene view.
worldPosition Position in the world.
viewportPosition Position in the viewport.
parentForDraggedObjects Parent transform of the dragged object.
perform True if the event is of type EventType.DragPerform.

Description

Handler for the Scene.


Did you find this page useful? Please give it a rating: