Пример #1
0
 private void OnTriggerStay(Collider other)
 {
     if (other.tag == notetag && rayScript.ReturnSelected() == notetag)
     {
         Debug.Log("Point+1");
         other.transform.position = new Vector3(transform.position.x, transform.position.y, transform.position.z + 0.75f);
     }
 }