More Responsive Planet 世界视角UI响应改
In RimWorld, the Planet/World view is very laggy, especially when there are many settlements, factions, landmarks in 1.6.
This mod tries to improve the drag-select performance of the World view.
Core strategies:
- Disable the default world selector dragger, create a standalone dragger
- Use a single background thread to compute the selected world object after dragging is done
- Record the input event more efficiently through Unity MonoBehaviour instead of replying the built-in Unity event system
- During dragging, disable the rendering of all world objects (super slow), capturing the screenshot and display that together with the selection box
Because the priority of drawing of dragging box is super high, single click on colonist bar won't work (it will get through and select the tile). You can double click on the colonist bar.
This is fixed.
环世界的世界视角在1.6版本中非常卡顿,尤其是当有很多定居点、派系和地标时。
这个mod尝试改善世界视角拖拽-选择的性能。
优化策略:
- 禁用默认的世界选择器拖动器,创建一个独立的拖动器
- 使用单独的后台线程在拖动完成后计算所选的世界对象
- 通过Unity MonoBehaviour更高效地记录输入事件,而不是依赖内置的Unity事件系统
- 在拖拽的时候,禁用系统内绘制的世界对象(非常吃性能),通过显示游戏屏蔽截图显示截图和拖拽框来提升性能和响应速度
因为绘制拖拽框的优先级非常高,单击殖民者栏不好用了(会穿透殖民者栏选中下边的地格)。你可以双击殖民者条。
已经修复