0
A quick question regarding c#
I am creating an ar game just for fun I will not publish it anywhere. so,there are 32 Buttons of piano 🎹. I have a script which reads a midi file and output the sound of that instance. there is also a method which can output the name of that key which is played. how can I use that script so whenever a particular key is played a method on the script which is attached to the particular gameobject. ex:- the output is 6 so, a method is invoked on the 6th button. thanks.
2 ответов
+ 1
Not sure, but the game sounds amazing.
0
I can use a for loop if a condition is true I can invoke that method on that object