上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 48 下一页
摘要: 【代码编辑】 # 自动补全:ctrl+space (菜单 -> Edit -> Comment) # 行注释:ctrl+/ # 块注释:ctrl+shift+/ (菜单 -> Edit -> Text) # 新建行(下面):ctrl+enter # 新建行(上面):ctrl+shift+enter 阅读全文
posted @ 2022-06-09 22:59 yanghui01 阅读(1090) 评论(0) 推荐(0)
摘要: 代码 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)
摘要: #用到的库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)
摘要: 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)
摘要: 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)
摘要: # 下载NuGetForUnity GitHub - GlitchEnzo/NuGetForUnity: A NuGet Package Manager for Unity # 双击unitypackage,导入下载的插件到Unity # 导入完毕,会多出一个NuGet的菜单 # 搜索要添加的库,点 阅读全文
posted @ 2022-04-21 23:45 yanghui01 阅读(1790) 评论(0) 推荐(0)
摘要: # 只处理了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)
摘要: # 节点 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)
摘要: # 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 下一页