UICoordinator provides reference-counted ownership of menu input. While one or more mod menus hold a lease, UICoordinator unlocks and displays the cursor, places the game input system into menu mode, and suppresses mouse-look. When the final menu releases its lease, the previous cursor and input state are restored.
This prevents independent mod menus from fighting over the cursor or restoring gameplay input while another menu remains open.
Download and check out the readme if you'd like to use it for your own mods.
评论
还没有评论。提问、技巧和 bug 反馈都可以写在这里。
有东西不能用?分享你的日志,并把链接粘贴到评论中。
登录后发表评论