/// <summary> /// 热键按下 /// </summary> public virtual void OnHotKeyDown(int skillindex) { m_TimeOfStartFire = Time.time; m_State = GunState.Fire; m_MainPlayer.SetCanToggleWeapon(false);//不能切换武器 }