Method GetDroppableObjectForArtifact
GetDroppableObjectForArtifact(Artifact, out T)
This method is called when the user drops an artifact on the target.
Declaration
protected virtual bool GetDroppableObjectForArtifact(Artifact artifact, out T obj)
Parameters
Type | Name | Description |
---|---|---|
Artifact | artifact | The artifact 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. |