Version: 2017.2

UnityWebRequest.disposeUploadHandlerOnDispose

切换到手册
public bool disposeUploadHandlerOnDispose ;

描述

如果值为 true,则任何附加到此 UnityWebRequestUploadHandler 将在调用 UnityWebRequest.Dispose 时自动调用 UploadHandler.Dispose

默认值:true。

如果没有 UploadHandler 附加到此 UnityWebRequest,则此属性无效。