K
K
KatrinV2021-10-03 04:59:47
Unity
KatrinV, 2021-10-03 04:59:47

How to check trigger entry after mouse release?

There are two objects on the scene. I drag the first one with the mouse to the second one, and when I release it, I need to check which object I dragged. Those. essentially combine the logic of the two methods OnTriggerEnter and OnMouseUp, but how to do it at the same time?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-10-03
@freeExec

Get two variables
меняТянутМышкой
яВтригере

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question