- 博客(13)
- 收藏
- 关注
原创 Windows 资源管理器莫名其妙占用大量CPU(电脑卡 一定要试试这个)
特指:打开数个文件夹(尤其是规模较大的),电脑异常卡顿,打开任务管理器,看到Windows 资源管理器CPU占比90%+,直接导致总CPU100%困扰了我很久很久 终于解决了。电脑卡 一定要试试这个。
2024-05-23 20:35:15
500
1
原创 调试unity package源代码
preferences --> external tools --> Generate .csproj files for 都勾选上。
2023-12-07 20:21:48
450
原创 Unity Hub许可证问题 达到最大申请次数之类的,Serial has reached the maximum number of activations
unity许可证问题
2022-11-22 11:46:57
2405
原创 git cherry-pick says “...38c74d is a merge but no -m option was given“
You have to supply -m if the commit is a merge commit, i.e. a commit with more than one parent.
2022-11-14 17:44:31
223
原创 Lua 当nil作为table的index
local a = {}a[nil] = 0 – 会报错“table index is nil”// ltable.cTValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { Node *mp; TValue aux; // error when key is nil if (ttisnil(key)) luaG_runerror(L, "table index is nil"); // ...
2022-01-07 17:22:31
779
转载 Difference between all anchoredPosition, localPosition and pivotPosition ?
https://forum.unity.com/threads/difference-between-all-anchoredposition-localposition-and-pivotposition.903722/
2021-11-11 18:03:48
55
原创 EmmyLua Unity断点调试
1.Vscode安装EmmyLua插件2.配置launch.jsonlaunch.json配置内容:{ // 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。 // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "type": "e
2021-09-14 12:45:00
815
原创 The document “ostream” could not be saved. You don’t have permission
在 Xcode 建议“fix”之后,遇到了这个问题。导致无法退出 XCode。解决方案:找到活动监视器Activity Monitor,强行退出。
2021-07-22 16:46:25
1230
6
原创 Git Revert
git revert 命令可以被认为是“撤消”类型的命令,但它不是传统的撤消操作。它不是从项目历史中删除提交,而是撤销对某次提交引入的更改,并生成一个新的提交。这样能防止丢失代码。
2021-07-18 18:07:32
65
原创 使用Lua语言实现简单的事件系统
使用Lua语言实现简单的事件系统,注册监听/ 移除监听/ 广播消息核心代码Cat类Mouse类Test_main核心代码-- event_system.luaEvent = {}local events = {}-- 第一个参数是事件名,后面是传入的其他参数function Event.Trigger(eventname, ...) local eventlist = events[eventname] or {} for obj, callback in pairs(eventl
2021-07-14 11:46:38
1063
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人