void TimeStop()//暂停时间
{
if (IsStopping == true)
{
// stopping = true;
Time.timeScale = 0;

StartCoroutine("Stop");
}
}
IEnumerator Stop()
{

yield return new WaitForSecondsRealtime(stopTime);//击中暂停的多少秒回复正常
Time.timeScale = 1;

}