07 2023 档案

摘要:不知道“增益道具”在英文里该怎么说,百度翻译是GainProp,感觉怪怪的。于是用ChatGPT问了一下。 我: >in a game, something that can buff the player, what is it GPT: >In a game, a "buff" typicall 阅读全文
posted @ 2023-07-28 20:26 dewxin 阅读(53) 评论(0) 推荐(0) 编辑
摘要:### 动机 由于地图是使用unity tilemap编辑的,服务端也希望获取一份相关的信息。**相较于自己写个编辑器,直接利用unity的能力会更加敏捷**。 ### 效果展示 只需要将组件拖拽到含有Tilemap组件的GameObj上面,就可以点击按钮,获取格子信息。 ![](https://i 阅读全文
posted @ 2023-07-22 14:44 dewxin 阅读(655) 评论(0) 推荐(0) 编辑
摘要:https://stackoverflow.com/questions/10196897/memorymappedfile-createoropen-throws-the-handle-is-invalid C# mutex的名字和 MemoryMappedFile名字不能一样。。 可能是底层用到了 阅读全文
posted @ 2023-07-12 16:33 dewxin 阅读(23) 评论(0) 推荐(0) 编辑
摘要:[内存映射文件(Memory-mapped files)](https://learn.microsoft.com/en-us/dotnet/standard/io/memory-mapped-files)是一种很好的进程间通信方式,它暴露了底层的细节,具有很强的扩展性以及性能。 ![](https 阅读全文
posted @ 2023-07-10 22:10 dewxin 阅读(482) 评论(0) 推荐(0) 编辑
摘要:### 问题展示以及源码 ![](https://img2023.cnblogs.com/blog/2243042/202307/2243042-20230707212750099-1036685882.gif) ```C# using System.Collections; using Syste 阅读全文
posted @ 2023-07-07 22:34 dewxin 阅读(22) 评论(0) 推荐(0) 编辑
摘要:### 起因 C#函数中没有显示native线程id的,只能显示managedThreadId,如果想显示nativeThreadId就需要通过[PInvoke](https://learn.microsoft.com/zh-cn/dotnet/standard/native-interop/pin 阅读全文
posted @ 2023-07-03 13:06 dewxin 阅读(33) 评论(0) 推荐(0) 编辑
摘要:https://github.com/dotnet/sdk/issues/16975 >6bee commented on Apr 1 > adding the following PropertyGroup to the .pubxml seems to have solved the issue 阅读全文
posted @ 2023-07-02 00:08 dewxin 阅读(122) 评论(0) 推荐(0) 编辑

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