会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
就当笔记吧
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
36
37
38
39
40
41
42
43
44
···
48
下一页
2022年6月9日
sublime常用快捷键
摘要: 【代码编辑】 # 自动补全:ctrl+space (菜单 -> Edit -> Comment) # 行注释:ctrl+/ # 块注释:ctrl+shift+/ (菜单 -> Edit -> Text) # 新建行(下面):ctrl+enter # 新建行(上面):ctrl+shift+enter
阅读全文
posted @ 2022-06-09 22:59 yanghui01
阅读(1090)
评论(0)
推荐(0)
2022年5月14日
距离明天某个时间还剩多长时间
摘要: 代码 function LeftTime(hour, min, sec) min = min or 0 sec = sec or 0 local dt = os.date("*t", os.time()) local leftSec = 24 * 3600 - dt.hour * 3600 + dt
阅读全文
posted @ 2022-05-14 20:58 yanghui01
阅读(2287)
评论(0)
推荐(0)
日期时间-登录时间判断
摘要: 每天首次登录可领取一次奖励, 判断是否当天的首次登录 function IsSameDay(lastTimeStamp, nowTimeStamp) local dt1 = os.date("*t", lastTimeStamp) local dt2 = os.date("*t", nowTimeS
阅读全文
posted @ 2022-05-14 16:38 yanghui01
阅读(84)
评论(0)
推荐(0)
2022年5月2日
tiff格式图片的读写
摘要: #用到的库LibTiff LibTiff.Net (bitmiracle.com) # tiff格式介绍 TIFF图像文件格式详解整理_sqzeng的博客-CSDN博客_tiff格式 Tiff Tag Reference, Search page (awaresystems.be) # 常用的tag
阅读全文
posted @ 2022-05-02 00:11 yanghui01
阅读(1139)
评论(0)
推荐(0)
2022年4月29日
控制手柄-BoxBoundsHandle
摘要: public class TestWindow : EditorWindow { [MenuItem("Window/TestWindow")] static void ShowWindow() { var window = GetWindow<TestWindow>(); window.title
阅读全文
posted @ 2022-04-29 00:11 yanghui01
阅读(245)
评论(0)
推荐(0)
2022年4月25日
链接LabelField
摘要: public class TestWindow : EditorWindow { [MenuItem("Window/TestWindow")] static void ShowWindow() { var window = GetWindow<TestWindow>(); window.title
阅读全文
posted @ 2022-04-25 23:41 yanghui01
阅读(71)
评论(0)
推荐(0)
2022年4月21日
在Unity中使用nuget
摘要: # 下载NuGetForUnity GitHub - GlitchEnzo/NuGetForUnity: A NuGet Package Manager for Unity # 双击unitypackage,导入下载的插件到Unity # 导入完毕,会多出一个NuGet的菜单 # 搜索要添加的库,点
阅读全文
posted @ 2022-04-21 23:45 yanghui01
阅读(1790)
评论(0)
推荐(0)
2022年4月17日
前缀树-TrieTree
摘要: # 只处理了ascii字符 local Node = {} Node.__cname = "util.TrieTree.Node" Node.__index = Node function Node.new(v) local obj = {} setmetatable(obj, Node) obj:
阅读全文
posted @ 2022-04-17 14:54 yanghui01
阅读(52)
评论(0)
推荐(0)
2022年4月16日
跳表-SkipList
摘要: # 节点 local Node = {} Node.__cname = "util.SkipList.Node" Node.__index = Node function Node.new(k, v) local obj = {} setmetatable(obj, Node) obj:ctor(k
阅读全文
posted @ 2022-04-16 22:01 yanghui01
阅读(37)
评论(0)
推荐(0)
2022年4月13日
DoTween实现Blink
摘要: # function Blink(go, blinkNum, blinkDuration) local blinkInterval = 1 / blinkNum local halfBlickInterval = blinkInterval * 0.5 local tweener = DOTween
阅读全文
posted @ 2022-04-13 23:08 yanghui01
阅读(147)
评论(0)
推荐(0)
上一页
1
···
36
37
38
39
40
41
42
43
44
···
48
下一页
公告