public OnTriggerEnter2D ( |
||
other | ||
return | void |
void OnTriggerEnter2D(Collider2D other)
{
if (!DroppedObject)
{
var uIDrag = other.gameObject.GetComponent<UIDrag> ();
if (uIDrag != null && !uIDrag.Dropped) {
WatchingObject = uIDrag;
}
}
}