Esempio n. 1
0
 public void AttachChord(DraggableChord chord)
 {
     if (Attached != null)
     {
         Destroy(Attached.gameObject);
     }
     chord.transform.parent = transform;
     Attached   = chord;
     chord.Slot = this;
     ChordAttached.Invoke();
 }
Esempio n. 2
0
 public void FreeChord()
 {
     Attached = null;
     ChordAttached.Invoke();
 }