コード例 #1
0
 void UpdateHangPoint()
 {
     // isHanging = Physics.Raycast(ledgeDetectionTransform.position, MapToInputSpace(Vector3.forward), ledgeGrabDistance);
     if (isHanging != ledgeDectector.DetectLedge())
     {
         isHanging = ledgeDectector.DetectLedge();
         Debug.Log("hanging set to: " + isHanging);
     }
 }
コード例 #2
0
 void UpdateHangPoint()
 {
     // isHanging = Physics.Raycast(ledgeDetectionTransform.position, MapToInputSpace(Vector3.forward), ledgeGrabDistance);
     isHanging = ledgeDectector.DetectLedge();
 }