The type `HttpClient` is defined in an assembly that is not referenced

The type `HttpClient` is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

解决方案:

https://docs.unity3d.com/Manual/dotnetProfileAssemblies.html

猜你喜欢

转载自blog.csdn.net/lzt20007/article/details/84631936