Version: 2017.2

DownloadHandlerTextureConstructor

Switch to Manual
public DownloadHandlerTexture ();

Description

Default constructor.

Convenience constructor. Assumes the value of readable is false. The Texture returned by texture will not have its texture data accessible from script.


public DownloadHandlerTexture (bool readable);

Parameters

readable Value to set for TextureImporter.isReadable.

Description

Constructor, allows TextureImporter.isReadable property to be set.

The value in readable will be used to set the TextureImporter.isReadable property when importing the downloaded texture data.