Version: 2019.1 (switch to 2018.3 or 2017.4)
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.

Did you find this page useful? Please give it a rating: