예제 #1
0
 void DoFallingAction()
 {
     if (CheckStatus(PlayerState.Player_Swing))
     {
         webManager.playerTransform.GetComponent <PlayerStats>().CurPlayerStatus(PlayerState.Player_Fall);
     }
     webManager.webLength = Mathf.Infinity;
     controller.Move(webManager.Fall(transform.localPosition, Time.deltaTime));
     previousPosition = transform.localPosition;
 }