AnimancerToolsWindow.Tool.

AnimancerToolsWindow.

HandleDragAndDropIntoList<T>(Rect, IList<T>, bool, Func<T, bool>) Method

Summary

Adds any objects dropped in the `area` to the `list`.

Syntax

protected void HandleDragAndDropIntoList<T>(Rect area, IList<T> list, bool overwrite, Func<T, bool> validate = null) 
    where T : Object

Type Parameters

Name Description
T

Parameters

Name Type Description
area Rect
list IList<T>
overwrite bool
validate Func<T, bool>

Return Value

Type Description
void