Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

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

WWW.Dispose

public void Dispose();

Description

Disposes of an existing WWW object.

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.