摘要: 1、打开VS2022(目前只适用2022/2019-1.16以上版本),点击扩展→管理扩展→搜索nanoframework选择如下图选项点击安装; 2、桌面按下shift右击鼠标打开PowerShell窗口,输入:dotnet tool install -g nanoff(此为安装nanoframe 阅读全文
posted @ 2023-04-03 18:02 陌洛 阅读(84) 评论(0) 推荐(0) 编辑
摘要: for %%n in (*.jpg) 新建txt文件,复制下边的代码 @echo offset a=1setlocal EnableDelayedExpansionfor %%n in (*.jpg) do (set /A a+=1ren "%%n" "前缀!a!.jpg") 注释: a——起始值 阅读全文
posted @ 2022-02-14 16:12 陌洛 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 对用户授权 mysql>grant rights on database.* to user@host identified by "pass"; 例1: 增加一个用户test1密码为abc,让他可以在任何主机上登录,并对所有数据库有查询、插入、修改、删除的权限。 grant select,inse 阅读全文
posted @ 2022-01-05 08:42 陌洛 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 1、创建项目 2、控制器脚本说明 [FromBody]JObject value;JObject此类型默认为string,但是string无法正常解析复杂类型的Json数据,所以修改为JObject类型 return 即为向请求的客户端发送反馈数据 3、连接MySql数据库 可以使用动软生成的简单三 阅读全文
posted @ 2021-12-23 19:43 陌洛 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 最近公司PC项目需要串流到Piconec3上运行,HTC手柄是圆盘键按下移动还可以,但是Piconeo3是摇杆,按下移动的话显得不科学,所以写了一套基于圆盘键,使用摇杆移动的方法 第一步:编写摇杆左右旋转功能 using System.Collections; using System.Collec 阅读全文
posted @ 2021-12-13 18:49 陌洛 阅读(423) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; using UnityEngine; using UnityEngine.UI; 阅读全文
posted @ 2021-10-23 10:05 陌洛 阅读(177) 评论(0) 推荐(0) 编辑
摘要: [code]csharpcode: /// <summary> /// 键盘输入模拟 /// </summary> [DllImport("user32.dll", EntryPoint = "keybd_event")] public static extern void Keybd_event( 阅读全文
posted @ 2021-10-09 19:14 陌洛 阅读(503) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-10-09 19:13 陌洛 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 脚本挂在输入框的父物体上即可 [code]csharpcode: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using 阅读全文
posted @ 2021-10-09 19:10 陌洛 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 需要增加动态链接库EPPLUS、Excel、ICSharpCode.SharpZipLib、I18N、I18N.CJK、I18N.MidEast、I18N.Other、I18N.Rare、I18N、West,Excel相关动态链接库需要下载,I18相关在Unity安装路径下可以找到 [code]cs 阅读全文
posted @ 2021-10-09 19:09 陌洛 阅读(41) 评论(0) 推荐(0) 编辑