/// <summary> /// 重启 /// </summary> public void Restart() { isAlive = true; Tank.enabled = true; Tank.Begin(); this.enabled = true; Agent.Reset(); }