Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Dispose()

Disposes of an existing WWW object.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UnityWebRequestWWWModule
Warning
Deprecated. Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features
public void Dispose()

Remarks

This function can be used to abort a download in progress. This can be useful, say, if you want to give the user an option to cancel the remote loading of a level in the game.