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