上一页 1 2 3 4 5 6 7 ··· 10 下一页
  2020年4月24日
摘要: 报错:尝试读取或写入受保护的内存。这通常指示其他内存已损坏 因为 waveSource是在主线程中生成的,但是waveSource.Dispose();是新建了一个线程调用的,所以此处问题,我是用以下方式解决的 private void Time_Elapsed(object sender, Ela 阅读全文
posted @ 2020-04-24 11:49 凌落成迷 阅读(320) 评论(0) 推荐(0) 编辑
摘要: Dispatcher.Invoke( new Action(delegate { textBox.Text+= msg; }) ); System.Windows.Application.Current.Dispatcher.Invoke(new System.Action(() => { IPri 阅读全文
posted @ 2020-04-24 11:12 凌落成迷 阅读(221) 评论(0) 推荐(0) 编辑
  2020年3月13日
摘要: 在unity中,text里如果单词过长会自动往此行末尾留空并换行。 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class We 阅读全文
posted @ 2020-03-13 18:45 凌落成迷 阅读(2831) 评论(0) 推荐(0) 编辑
  2019年12月4日
摘要: 跑酷篇 获取两点之间的某点的位置 startPoint为起始点 endPoint为终点 numZ是一个距离(例如:在这个路径上,startPoint.z+numZ 就是要获取的点的z) 公式为: Vector3 getPoint= Vector3.Lerp(startPoint.position,e 阅读全文
posted @ 2019-12-04 15:12 凌落成迷 阅读(2460) 评论(0) 推荐(0) 编辑
  2019年10月31日
摘要: AssetDatabase.Refresh() 阅读全文
posted @ 2019-10-31 15:59 凌落成迷 阅读(853) 评论(0) 推荐(0) 编辑
  2019年10月28日
摘要: Process.Start("shutdown.exe", "-s");//关机 Process.Start("shutdown.exe", "-s -t "+"120");//延时120秒后关机Process.Start("shutdown.exe", "-a");//取消关机 阅读全文
posted @ 2019-10-28 10:24 凌落成迷 阅读(1050) 评论(0) 推荐(0) 编辑
  2019年8月26日
摘要: 将 "PartyBuilding_01_01" 转为 ["PartyBuilding","01","01"] string[] _tempStrArr = _info.Split('_'); _tempStrArr则为 ["PartyBuilding","01","01"] 阅读全文
posted @ 2019-08-26 11:36 凌落成迷 阅读(826) 评论(0) 推荐(0) 编辑
  2019年7月18日
摘要: 可以在unity中window→Package Manager,找到Post Processing插件 然后通过此插件就可以调整景深效果了 注意 摄像机上需绑定 Post Process Layer 然后创建一个空对象,绑定 Post Oricess Volume 接下来,自己调整参数吧 Foces 阅读全文
posted @ 2019-07-18 10:27 凌落成迷 阅读(3083) 评论(0) 推荐(0) 编辑
  2019年5月8日
摘要: https://developer.leapmotion.com/unity#5436356 unity驱动 https://developer.leapmotion.com/get-started 驱动 阅读全文
posted @ 2019-05-08 11:16 凌落成迷 阅读(326) 评论(0) 推荐(0) 编辑
  2019年2月25日
摘要: 输出的s1应该为41 阅读全文
posted @ 2019-02-25 16:55 凌落成迷 阅读(331) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页