예제 #1
0
 public void StopGrapple()
 {
     showRope         = false;
     grapplingState   = GrapplingState.Normal;
     lr.positionCount = 0;
     Destroy(joint);
     handsAnimator.ResetTrigger("Grappling");
     handsAnimator.SetTrigger("StopGrappling");
     crosshair.RevertCrossHairSize();
     crosshair.RevertCrosshairColor();
     if (lastGrapple != null)
     {
         lastGrapple.GetComponent <MeshRenderer>().material.SetColor("_EmissionColor", original * 0.0150f);
     }
 }