public void OnTriggerExit2D(Collider2D other) { //Debug.Log("조작불가"); this.Operate = false; this.outNote = other.GetComponent <TestNoteNote>(); }
public void OnTriggerStay2D(Collider2D other) { //Debug.Log("조작가능"); this.Operate = true; this.currentNote = other.GetComponent <TestNoteNote>(); }