Esempio n. 1
0
        public void RecycleAllNotes(TrackManager manager)
        {
            runtimeNote.Clear();

            var currentNotes = new List <Transform>();

            foreach (Transform child in notesParent)
            {
                currentNotes.Add(child);
            }
            currentNotes.ForEach(x =>
            {
                manager.ResetNoteToPool(x.gameObject);
            });
        }
Esempio n. 2
0
 void Awake()
 {
     INSTANCE = this;
 }
Esempio n. 3
0
 private void Awake()
 {
     trackManager = GetComponentInParent <TrackManager>();
 }
 private void Awake()
 {
     trackManager = GetComponent <TrackManager>();
     comboSystem  = GetComponent <ComboSystem>();
 }