
工具
Hunter_2020
这个作者很懒,什么都没留下…
展开
-
[android] 查看 CERT.RSA
使用keytool命令keytool -printcert -file “/Users/aaaaa/Downloads/app-0310-1937/META-INF/CERT.RSA”原创 2021-06-16 11:36:10 · 793 阅读 · 0 评论 -
【unity】读取Excel 文件
需要把这两个文件加入plguin 文件夹下, Excel.dll 和ICSharpCode.SharpZipLib,官方链接 http://exceldatareader.codeplex.com/读取文件public class ExcelLoader { public static DataRowCollection ReadExcel(string path, string sheetName) { FileStream stre原创 2021-05-24 17:11:16 · 165 阅读 · 0 评论 -
[unity] [tool] 删除失效脚本
以前使用 prop.DeleteArrayElementAtIndex(j);但是现在unity 不允许这么操作,会报错It is not allowed to modify the data property因为unity自己提供了一个更方便的接口GameObjectUtility.RemoveMonoBehavioursWithMissingScript原创 2020-12-17 16:37:32 · 955 阅读 · 0 评论 -
[unity][Tool] 代码批量替换 playsetting里的 icon
节假日icon都会发生变化,但是每次手动拖就很麻烦,所以只要icon名字是一样的,只是在不同的文件夹下,就可以批量修改,一键搞定 private void SetPlatformIcon() { PlatformIconKind[] kinds = PlayerSettings.GetSupportedIconKindsForPlatform(BuildTargetGroup.iOS); for (int i = 0; i < kinds原创 2020-12-17 09:47:13 · 427 阅读 · 0 评论 -
[unity]自带的录音功能Microphone 在iOS 和 android设置上使用 及 注意事项
获取录音设备, 返回值是设备名string[] mDevice = Microphone.devices;开始录音// 如果 _deviceName = null; 会选默认的录音输入口// _micSecond 为录音时常,最大不超过3600秒 //_frequency 采样率一般为44100,一定要大于0// 返回一个 audioClipCurAudioSource.clip = Microphone.Start(_deviceName, false, _micSecond, _.原创 2020-07-18 11:58:32 · 2561 阅读 · 2 评论