Version: 5.6 (switch to 2017.1b)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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.