Answer the question
In order to leave comments, you need to log in
Unity, how to implement simultaneous clicking on multiple objects?
void OnMouseDown(){//Функция нажатия мышью на объект
if (VSound == true) {
SoundM (); //вызываем проигрывание музыки
}
}
Answer the question
In order to leave comments, you need to log in
Let me google it for you:
https://unity3d.com/en/learn/tutorials/modules/beg...
unity3d.ru/distribution/viewtopic.php?f=105&t=23974
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question