Z
Z
Zibzikon2021-06-05 16:09:21
Unity
Zibzikon, 2021-06-05 16:09:21

How can I make it so that when two objects are touched, one action is performed, and when one of the same objects is touched, another action is performed?

I have a fruit on which the worms are spinning and I need that when you touch only the fruit, one action is done, and when you touch the fruit and the worm, another action is done.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question