Method GetDroppableObjectForUnityObjects
GetDroppableObjectForUnityObjects(Object[], out T)
This method is called when the user drops a Unity object on the target.
Declaration
protected virtual bool GetDroppableObjectForUnityObjects(Object[] objects, out T obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object[] | objects | The objects dropped on the target. |
| T | obj | The object to be dropped. |
Returns
| Type | Description |
|---|---|
| bool | True if the object is valid and can be dropped, false otherwise. |