
u3d
404啊啊啊啊啊啊啊
时长两年半的个人编码练习生
展开
-
Unity模仿Ajax发送请求
public IEnumerator Ajax(string url, string method, JsonData data, string contentType, ajaxBindMethod success, ajaxBindMethod err) { byte[] postBytes = System.Text.Encoding.Default.GetBytes(data.ToJson()); UnityWebRequest webRequest = .原创 2021-02-02 10:28:45 · 532 阅读 · 0 评论 -
unity实现双击事件
private double timeStart = 0;public void dbclick(){ if (timeStart != 0) { if (Time.time - timeStart <= 0.4f) { //do anything } else ...原创 2020-03-08 11:31:35 · 164 阅读 · 0 评论