* -----英雄的移动控制 * * * * */ using System.Collections; using System.Collections.Generic; using UnityEngine; public class HeroMovingControl : MonoBehaviour { public float FloHeroMovingSpeed = 1F; //运动的速度 public float _FloHeroGaravity=1F; //英雄的重力 private
* -----英雄的移动控制 * * * * */ using System.Collections; using System.Collections.Generic; using UnityEngine; public class HeroMovingControl : MonoBehaviour { public float FloHeroMovingSpeed = 1F; //运动的速度 private CharacterController _ChaHeroControl; //英雄角