C# Class UnityEngine.Networking.DownloadHandlerScript

Inheritance: DownloadHandler
显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
DownloadHandlerScript ( ) : System

Create a DownloadHandlerScript which allocates new buffers when passing data to callbacks.

DownloadHandlerScript ( byte preallocatedBuffer ) : System

Create a DownloadHandlerScript which reuses a preallocated buffer to pass data to callbacks.

Private Methods

Method Description
InternalSetPreallocatedBuffer ( byte buffer ) : void

Method Details

DownloadHandlerScript() public method

Create a DownloadHandlerScript which allocates new buffers when passing data to callbacks.

public DownloadHandlerScript ( ) : System
return System

DownloadHandlerScript() public method

Create a DownloadHandlerScript which reuses a preallocated buffer to pass data to callbacks.

public DownloadHandlerScript ( byte preallocatedBuffer ) : System
preallocatedBuffer byte A byte buffer into which data will be copied, for use by DownloadHandler.ReceiveData.
return System