随笔分类 -  技术

摘要:代码 using System.Runtime.CompilerServices; using System.Threading.Tasks; using UnityEngine; using UnityEngine.Networking; public class TestKimi : MonoB 阅读全文
posted @ 2024-02-07 17:40 三页菌 阅读(535) 评论(0) 推荐(0) 编辑
摘要:https://learngitbranching.js.org/ 阅读全文
posted @ 2023-03-01 09:58 三页菌 阅读(23) 评论(0) 推荐(0) 编辑
摘要:转自:https://www.zhihu.com/question/24251545 阅读全文
posted @ 2022-09-30 09:38 三页菌 阅读(191) 评论(0) 推荐(0) 编辑
摘要:bepuphysics 使用c#代码实现 https://github.com/bepu/bepuphysics2 Box2D 由c++实现 https://github.com/erincatto/box2d 也有c#的版本,可供学习参考 https://github.com/Zonciu/Box 阅读全文
posted @ 2022-09-08 21:44 三页菌 阅读(156) 评论(0) 推荐(0) 编辑
摘要:1.第一步安装MongoDB https://blog.csdn.net/weixin_45404208/article/details/114437260 2.安装可视化数据库软件 Robo 3T (免费但是不再更新) Studio3t (功能完善,但是收费,建议学习版) 3.操作数据库 http 阅读全文
posted @ 2022-05-16 14:18 三页菌 阅读(148) 评论(0) 推荐(0) 编辑
摘要:using System;using System.Collections;public class EventSystem { public delegate void ListenerDelegate(); public delegate void ListenerDelegate<T>(T t 阅读全文
posted @ 2021-11-30 10:10 三页菌 阅读(190) 评论(0) 推荐(0) 编辑
摘要:https://cedil.cesa.or.jp/ 日文的,但是可以搜到很有意思的技术分享,cedil 在知乎上也可以搜到CEDEC https://zhuanlan.zhihu.com/p/240849667 FF15中的角色AI决策系统 阅读全文
posted @ 2021-10-17 01:18 三页菌 阅读(126) 评论(0) 推荐(0) 编辑
摘要:1.帧同步是基于客户端对游戏进行一个帧数的定义,比如每秒16帧,那么在1/16秒时,记录下玩家的在此帧的所有输入操作 记录的帧数和操作会同步给所有玩家,每帧所有玩家都会收到一个buffer,这个buffer里面记录着操作指令,这个buffer越小网络传输越快 帧同步就是好比如,在操作的玩家在进行一个 阅读全文
posted @ 2021-10-16 13:37 三页菌 阅读(1156) 评论(0) 推荐(0) 编辑
摘要:Unity Text 里面有个 Best Fit选项,这个当超过一行文字后就会自动缩小,不是超过整个文本框才自动缩小 使用以下组件可取代Text using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; // 阅读全文
posted @ 2021-10-14 17:30 三页菌 阅读(1101) 评论(0) 推荐(0) 编辑
摘要:框架: https://github.com/JiepengTan/LockstepEngine 教程: https://github.com/JiepengTan/Lockstep-Tutorial https://www.bilibili.com/video/BV1ZJ411F7Sn?p=1 帧 阅读全文
posted @ 2021-10-08 11:43 三页菌 阅读(2310) 评论(0) 推荐(0) 编辑
摘要:1.可以使用Unity自带的 ContextMenu 属性 小齿轮进行代码测试 2.使用插件 EasyButton https://github.com/madsbangh/EasyButtons 3.Unity自动化测试 https://zhuanlan.zhihu.com/p/434457455 阅读全文
posted @ 2021-10-08 09:48 三页菌 阅读(321) 评论(0) 推荐(0) 编辑
摘要:官网:www.pixplant.com 软件有汉化补丁,可自行搜索 可以将一张图自动生成四分连续贴图,PBR材质贴纸 介绍: https://www.bilibili.com/video/BV1Ff4y1J779 阅读全文
posted @ 2021-10-02 20:03 三页菌 阅读(1190) 评论(0) 推荐(0) 编辑
摘要:mklink为windows自带的为目录或者文件创建另外一份链接的功能 此功能可以用于Unity开多个端,但是不需要复制文件 一个端修改,另外的端也被自带修改,本质是用同一份文件 %1 mshta vbscript:CreateObject("Shell.Application").ShellExe 阅读全文
posted @ 2021-09-10 14:43 三页菌 阅读(235) 评论(0) 推荐(0) 编辑
摘要:安装MongoDB(最好装C盘): https://www.runoob.com/mongodb/mongodb-window-install.html 安装可视化软件Robo3T:https://robomongo.org/ 连接MongoDB实例: using System.Collection 阅读全文
posted @ 2021-06-21 15:01 三页菌 阅读(38) 评论(0) 推荐(0) 编辑
摘要:bool ContainsPoint(List<Vector2> polyPoints, Vector2 p) { var j = polyPoints.Count - 1; var inside = false; for (int i = 0; i < polyPoints.Count; j = 阅读全文
posted @ 2021-06-04 12:07 三页菌 阅读(89) 评论(0) 推荐(0) 编辑
摘要:原因:在初始化配置Git用户信息时,设置了用户密码 解决方式:重置用户密码,并设置为空 $ ssh-keygen -p Enter file in which the key is (/c/Users/xxx/.ssh/id_rsa): (直接Enter)Enter old passphrase:( 阅读全文
posted @ 2021-06-03 15:25 三页菌 阅读(91) 评论(0) 推荐(0) 编辑
摘要:客户端 using System; using System.Collections; using System.Collections.Generic; using System.Net; using System.Text; using System.Threading; using Newto 阅读全文
posted @ 2021-05-31 00:53 三页菌 阅读(1006) 评论(0) 推荐(0) 编辑
摘要:打开设置,选择编程语言 At end of line (K&R style) 是侧括号换行,其他可自行尝试 else 相关 阅读全文
posted @ 2021-05-12 15:58 三页菌 阅读(2449) 评论(0) 推荐(0) 编辑
摘要:地址:http://www.luzexi.com/tag/%E4%B9%A6%E7%B1%8D%E8%91%97%E4%BD%9C/ 写的很好,作者的其他文章也写的不错,都可以看看 阅读全文
posted @ 2021-04-16 17:20 三页菌 阅读(1624) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示