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