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