会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
weiyanei
博客园
首页
新随笔
管理
上一页
1
2
3
4
5
6
···
19
下一页
2023年12月14日
新增数据后自动滚动到表格底部
摘要: <table> <thead> <tr> <th></th> </tr> </thead> <tbody :ref="indexInfo.index_id" :id="indexInfo.index_id"> <tr> <td></td> </tr> </tbody> </table> 有上述一个h
阅读全文
posted @ 2023-12-14 13:46 伟衙内
阅读(92)
评论(0)
推荐(0)
2023年11月13日
node-gyp无python环境问题
摘要: 如上图所示,这里报错 can't find Python executable "python",这个报错其实就是没有python环境,这里安装python 2.7版本即可,有人说3.0以上的python无效,我没试过。 https://www.python.org/downloads/releas
阅读全文
posted @ 2023-11-13 16:59 伟衙内
阅读(482)
评论(0)
推荐(0)
2023年10月1日
AssetDatabase.LoadAssetAtPath 获取FBX资源空指针问题
摘要: 问题一 LoadAssetAtPath 返回空 public class ProcessModel : AssetPostprocessor { private void OnPostprocessModel(GameObject input) { if (input.name != "Enemy2
阅读全文
posted @ 2023-10-01 17:54 伟衙内
阅读(478)
评论(0)
推荐(0)
2023年9月19日
关于一个BitMap的算法理解
摘要: 最近在看算法,想学习一下算法这玩意,虽然工作中很少用到。在《小灰的算法之旅》这本书中,有一个关于BitMap的算法。 早期接触过一点类似的,有人在数据库里面保存了一个字符串 000000000000000000,000000000001000001,这种,每一位代表一个含义,比如第一位为1表示这个用
阅读全文
posted @ 2023-09-19 10:18 伟衙内
阅读(41)
评论(0)
推荐(0)
2023年9月18日
记录荣耀手机使用uni-app蓝牙连接超时问题
摘要: 如上图所示,测试了两款华为荣耀手机,使用之前Uni-app连接蓝牙的代码,总是会报超时,能发现蓝牙信号,但是连接不上,代码如下, findBluetooth(mac) { var ths = this; this.showDebugInfo("要匹配的mac:" + mac) //3. 监听附近的蓝
阅读全文
posted @ 2023-09-18 11:44 伟衙内
阅读(1055)
评论(0)
推荐(0)
2023年9月15日
双边快排的基准点和先判断left还是right问题
摘要: 前同事问了我一个双边快排的算法,他问我怎么都无法正常排序,代码如下, public static void main(String[] args) { int[] arr = new int[]{7,3,6,4,8,9,0,22,28,2,3,79,24}; arr = new int[]{4,4,
阅读全文
posted @ 2023-09-15 10:11 伟衙内
阅读(33)
评论(0)
推荐(0)
2023年9月4日
Unity中瓦片地图
摘要: 图片切割 切割后如下图所示, 瓦片调色板 如下图所示,建立好对应的目录后,在Project面板下,右击Create -> 2D -> Tile Palette -> Rectangular中新建一个矩形调色板,命名为forest1保存在Palettes下,然后在顶部工具栏找到Window-> 2D
阅读全文
posted @ 2023-09-04 14:13 伟衙内
阅读(692)
评论(0)
推荐(0)
AssetBundle打包和读取
摘要: 基本信息 创建了项目名有YoyoProject工程,是一个3D模板的工程,使用的是unity 2021版本,windows11系统。 打包 打包路径 string dataPath = Application.dataPath; string persistentDataPath = Applica
阅读全文
posted @ 2023-09-04 11:52 伟衙内
阅读(228)
评论(0)
推荐(0)
C#中单例模板
摘要: 泛型单例 /** * 泛型单例模板 where 限制这个单例类必须要能被new出来 */ public class Singleton<T> : IDisposable where T : new() { private static T instance; public static T Inst
阅读全文
posted @ 2023-09-04 11:30 伟衙内
阅读(74)
评论(0)
推荐(0)
2023年8月22日
word转pdf,并加水印
摘要: Word转PDF 引入jar包 <!-- poi --> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>${poi.version}</version> </dependenc
阅读全文
posted @ 2023-08-22 16:30 伟衙内
阅读(289)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
19
下一页