3using UnityEngine.Networking;
7 [ReinteropNativeImplementation(
"CesiumForUnityNative::NativeDownloadHandlerImpl",
"NativeDownloadHandlerImpl.h")]
8 internal partial class NativeDownloadHandler : DownloadHandlerScript
10 public NativeDownloadHandler()
11 : base(new byte[16384])
13 CreateImplementation();
16 protected override bool ReceiveData(
byte[] data,
int dataLength) {
21 bool result = this.ReceiveDataNative((IntPtr)p, dataLength);
27 private partial
bool ReceiveDataNative(IntPtr data,
int dataLength);