91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 23KB
    文件類(lèi)型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-28
  • 語(yǔ)言: 其他
  • 標(biāo)簽: C#??unity??

資源簡(jiǎn)介

Unity 最新UnityWebRequest下載網(wǎng)絡(luò)資源,支持?jǐn)帱c(diǎn)續(xù)傳、多文件同時(shí)下載,同時(shí)顯示下載進(jìn)度,和 顯示網(wǎng)速,今天貼出來(lái)和大家分享

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Net;
using?UnityEngine;
using?UnityEngine.EventSystems;
using?UnityEngine.UI;
using?RealisticEyeMovements;
public?class?test?:?MonoBehaviour
{
????public?Button?button1;
????AsyncCallback?asyncCallback;
????//?Start?is?called?before?the?first?frame?update
????private?void?Start()
????{

????????GetComponent().LookAtPoiDirectly(Gameobject.Find(“Gameobject“).transform);
????????//test1Webclient();
????????//button1.onclick.AddListener(delegate
????????//{
????????//????Debug.Log(“click“);
????????//});

????????//button1.transition?=?Selectable.Transition.ColorTint;
????????////?button1.?=?Selectable.SelectionState.Pressed;
????????//ColorBlock?cb?=?new?ColorBlock();
????????//cb.normalColor?=?Color.red;
????????//cb.highlightedColor?=?Color.green;
????????//cb.pressedColor?=?Color.blue;
????????//cb.disabledColor?=?Color.black;
????????//button1.colors?=?cb;


????}
????private?void?OnGUI()
????{
????????if?(GUILayout.Button(“Auto?Button?click“))
????????{
????????????ExecuteEvents.Execute(button1.gameobject?new?PointerEventData(EventSystem.current)?ExecuteEvents.pointerClickHandler);
????????}
????????if?(GUILayout.Button(“Auto?Button?submit“))
????????{
????????????//按鈕點(diǎn)擊的變色
????????????ExecuteEvents.Execute(button1.gameobject?new?PointerEventData(EventSystem.current)?ExecuteEvents.submitHandler);
????????}
????????if?(GUILayout.Button(“Auto?Button?down“))
????????{
????????????//按鈕點(diǎn)擊的變色
????????????ExecuteEvents.Execute(button1.gameobject?new?PointerEventData(EventSystem.current)?ExecuteEvents.pointerDownHandler);
????????}
????????if?(GUILayout.Button(“Auto?Button?enter“))
????????{
????????????//按鈕點(diǎn)擊的變色
????????????ExecuteEvents.Execute(button1.gameobject?new?PointerEventData(EventSystem.current)?ExecuteEvents.pointerEnterHandler);
????????}
????????if?(GUILayout.Button(“Auto?Button?exit“))
????????{
????????????//按鈕點(diǎn)擊的變色
????????????ExecuteEvents.Execute(button1.gameobject?new?PointerEventData(EventSystem.current)?ExecuteEvents.pointerExitHandler);
????????}
????????if?(GUILayout.Button(“Auto?Button?up“))
????????{
????????????//按鈕點(diǎn)擊的變色
????????????ExecuteEvents.Execute(button1.gameobject?new?PointerEventData(EventSystem.current)?ExecuteEvents.pointerUpHandler);
????????}
????}

????//?Update?is?called?once?per?frame

????string?currDownFile?=?“test.bundle“;
????string?url?=?“http://192.168.10.33/test/StandaloneWindows64/“;

????private?void?test1Webclient()
????{
????????using?(WebClient?client?=?new?WebClient())
????????{
????????????client.DownloadProgressChanged?+=?new?DownloadProgressChangedEventHandler(ProgressChanged);
????????????client.DownloadFileAsync(new?System.Uri(url)?currDownFile);

?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----

?????文件????????291??2019-12-03?14:02??自動(dòng)添加組件和記錄位置\DownLoadBytes\Callback.cs

????..A..H.???????243??2019-12-03?13:31??自動(dòng)添加組件和記錄位置\DownLoadBytes\Callback.cs.meta

?????文件???????5471??2019-12-03?16:17??自動(dòng)添加組件和記錄位置\DownLoadBytes\DownLoadFile.cs

????..A..H.???????243??2019-12-03?16:13??自動(dòng)添加組件和記錄位置\DownLoadBytes\DownLoadFile.cs.meta

?????文件???????6810??2019-12-03?16:18??自動(dòng)添加組件和記錄位置\DownLoadBytes\DownloadFileHandler.cs

????..A..H.???????243??2019-12-03?13:31??自動(dòng)添加組件和記錄位置\DownLoadBytes\DownloadFileHandler.cs.meta

????..A..H.???????172??2019-12-03?13:30??自動(dòng)添加組件和記錄位置\DownLoadBytes.meta

?????文件??????24963??2019-11-20?14:34??自動(dòng)添加組件和記錄位置\Editor\AutoFindEditor.cs

????..A..H.???????243??2019-11-11?10:43??自動(dòng)添加組件和記錄位置\Editor\AutoFindEditor.cs.meta

?????文件????????744??2019-11-11?10:43??自動(dòng)添加組件和記錄位置\Editor\Resources\autofindman.json

????..A..H.???????158??2019-11-25?10:05??自動(dòng)添加組件和記錄位置\Editor\Resources\autofindman.json.meta

?????文件????????707??2019-11-11?10:43??自動(dòng)添加組件和記錄位置\Editor\Resources\autofindwoman.json

????..A..H.???????158??2019-11-25?10:05??自動(dòng)添加組件和記錄位置\Editor\Resources\autofindwoman.json.meta

?????文件????????744??2019-11-11?18:34??自動(dòng)添加組件和記錄位置\Editor\Resources\L_autofindmanL.json

????..A..H.???????158??2019-11-11?18:34??自動(dòng)添加組件和記錄位置\Editor\Resources\L_autofindmanL.json.meta

?????文件????????707??2019-11-11?18:34??自動(dòng)添加組件和記錄位置\Editor\Resources\L_autofindwomanL.json

????..A..H.???????158??2019-11-11?18:34??自動(dòng)添加組件和記錄位置\Editor\Resources\L_autofindwomanL.json.meta

????..A..H.???????172??2019-11-11?10:43??自動(dòng)添加組件和記錄位置\Editor\Resources.meta

?????文件??????17603??2019-12-02?15:17??自動(dòng)添加組件和記錄位置\Editor\Test.cs

????..A..H.???????243??2019-11-05?11:02??自動(dòng)添加組件和記錄位置\Editor\Test.cs.meta

????..A..H.???????172??2019-11-05?11:02??自動(dòng)添加組件和記錄位置\Editor.meta

????I.A....??????2053??2019-11-07?18:25??自動(dòng)添加組件和記錄位置\red.mat

????..A..H.???????188??2019-11-06?11:41??自動(dòng)添加組件和記錄位置\red.mat.meta

?????文件???????4600??2019-12-04?18:28??自動(dòng)添加組件和記錄位置\test.cs

????..A..H.???????243??2019-12-02?15:30??自動(dòng)添加組件和記錄位置\test.cs.meta

????I.A....??????8094??2019-12-03?16:50??自動(dòng)添加組件和記錄位置\test.unity

????..A..H.???????155??2019-12-03?13:48??自動(dòng)添加組件和記錄位置\test.unity.meta

????I.A....??????4310??2019-12-03?16:26??自動(dòng)添加組件和記錄位置\test1.cs

????..A..H.???????243??2019-12-03?16:20??自動(dòng)添加組件和記錄位置\test1.cs.meta

?????目錄??????????0??2019-12-03?18:31??自動(dòng)添加組件和記錄位置\Editor\Resources

............此處省略6個(gè)文件信息

評(píng)論

共有 條評(píng)論