/// <summary>打开远程调试(项目正式上线的时候不建议打开)</summary> public void RemoteDebug() { m_IsRemoteDebug = true; m_Client = GetComponent <UdpClient>(); if (m_Client == null) { m_Client = gameObject.AddComponent <UdpClient>(); } m_Client.OpenClient(DebugDefine.UTP_PORT); }