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