예제 #1
0
 //How does it catch?
 public void Catch(GameObject g)
 {
     ball                 = g;
     col.enabled          = false;
     handHelper.following = true;
     handHelper.tr        = g.transform;
     handHelper.PlayClose();
     if (left)
     {
         controller_scr.LeftHandCatch();
     }
     else
     {
         controller_scr.RightHandCatch();
     }
     heat++;
     if (heat == 3)
     {
         transform.tag = "Tired";
     }
     otherHand.SendMessage("ResetHeat");
 }