Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

UnityWebRequest.disposeUploadHandlerOnDispose

public bool disposeUploadHandlerOnDispose;

Description

If true, any UploadHandler attached to this UnityWebRequest will have UploadHandler.Dispose called automatically when UnityWebRequest.Dispose is called.

Default: true.

If no UploadHandler is attached to this UnityWebRequest, this property has no effect.