LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

DownloadHandlerFile Constructor

public DownloadHandlerFile(string path);

Parameters

pathPath to file to be written.

Description

Creates a new instance and a file on disk where downloaded data will be written to.

Will throw ArgumentException if file cannot be created.