Exemple #1
0
 // Update is called once per frame
 void Update()
 {
     /***************************************************************************************
      * Throwing Button
      * ************************************************************************************/
     if (throwInputScript.GetThrowingButton())
     {
         //print(throw_bumper);
         ThrowPearl(aimingDirScript.GetThrowAngle(), throwForce);             //will throw in the direction the pearl is currently pointing
     }
 }