07 2023 档案
摘要:不知道“增益道具”在英文里该怎么说,百度翻译是GainProp,感觉怪怪的。于是用ChatGPT问了一下。 我: >in a game, something that can buff the player, what is it GPT: >In a game, a "buff" typicall
阅读全文
摘要:### 动机 由于地图是使用unity tilemap编辑的,服务端也希望获取一份相关的信息。**相较于自己写个编辑器,直接利用unity的能力会更加敏捷**。 ### 效果展示 只需要将组件拖拽到含有Tilemap组件的GameObj上面,就可以点击按钮,获取格子信息。 ](https://learn.microsoft.com/en-us/dotnet/standard/io/memory-mapped-files)是一种很好的进程间通信方式,它暴露了底层的细节,具有很强的扩展性以及性能。  ```C# using System.Collections; using Syste
阅读全文
摘要:### 起因 C#函数中没有显示native线程id的,只能显示managedThreadId,如果想显示nativeThreadId就需要通过[PInvoke](https://learn.microsoft.com/zh-cn/dotnet/standard/native-interop/pin
阅读全文
摘要: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
阅读全文