Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. if (nextIndex < notes.Length && notes[nextIndex] < songPosInBeats + beatsShownInAdvance)
  2. {
  3. Instantiate( /* Music Note Prefab */ );
  4.  
  5. //initialize the fields of the music note
  6.  
  7. nextIndex++;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement