Exemple #1
0
 public void OnTriggerStay(Collider col)
 {
     if (col.gameObject.tag == "body")
     {
         hand_extend.Record_first_pos();
     }
     else if (col.gameObject.tag == "wall")
     {
         hand_extend.Record_second_pos();
         Set_extended_hand();
     }
 }