之前我使用SimpleMove来控制角色的移动, 后来又想实现人物的跳跃, 看见圣典里面是使用Move来实现的. =.= 然后我都把他们改成move来实现了
代码实现:
using UnityEngine; using System.Collections; public class PlayerMove : MonoBehaviour { private CharacterController cc; private bool isJump; private boo
之前我使用SimpleMove来控制角色的移动, 后来又想实现人物的跳跃, 看见圣典里面是使用Move来实现的. =.= 然后我都把他们改成move来实现了
代码实现:
using UnityEngine; using System.Collections; public class PlayerMove : MonoBehaviour { private CharacterController cc; private bool isJump; private boo