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

UnityWebRequest.disposeDownloadHandlerOnDispose

public bool disposeDownloadHandlerOnDispose;

Description

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

Default: true.

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