private static SoftDebuggerStartArgs CreateStartArgs(UnityProcess process) { IPEndPoint endPoint; if (!process.TryGetDebuggerEndPoint(out endPoint)) { throw new InvalidOperationException(); } return((SoftDebuggerStartArgs) new SoftDebuggerConnectArgs("Unity", endPoint.Address, endPoint.Port)); }
public UnityDebuggerStartInfo(UnityProcess process) : base(UnityDebuggerStartInfo.CreateStartArgs(process)) { }