Kirin UI
嵌入在多个 Mine Little Pony 项目中使用的通用代码,用于创建它们的图形用户界面(GUI)。
如果你是玩家
这个模组是一个 库,通常作为其他模组的依赖项嵌入或安装,因此单独安装它不会有任何效果。
它会偶尔获得独立于其他依赖项目的更新,虽然不建议单独安装它,但如果你遇到问题且更新可以解决这些问题,而下游项目由于某种原因尚未(或无法)更新,那么允许你单独安装它。
如果你是模组开发者
Kirin 提供了创建 GUI 的支持,并挂钩到现有的 GUI 以添加各种不同类型的控件:按钮、切换开关、循环器和滚动容器,使它们更简单且易于配置,并具有比常规游戏类更多的自定义选项。它还提供了一个高级配置系统,用于加载 JSON 格式的配置文件,并支持在游戏运行时实时更新。
有关如何使用它的更多信息,我建议你查看 GitHub 上的项目源代码。
Kirin UI
Embedded common code used across several Mine Little Pony projects to create their GUIs.
If you're a player
This mod is a library and is usually embedded or installed as a dependency for other mods, so installing it on its own doesn't do anything.
It will occasionally get updates independent of other projects that depend on it, so whilst installing it separately is not recommended it is permitted if you're having issues that updating solves but the downstream project hasn't (or can't) be updated for whatever reason.
If you're a mod developer
Kirin provides support for creating GUIs, and hooking into existing GUIs to add a variety of different controls: Buttons, Toggles, Cyclers, and scrolling containers that makes them both simpler and easier to configure, with more customisation options than the regular game's classes. It also provides an advanced configuration system for loading a config file in json format with support for live updates whilst the game is running.
For more on how to use it, I recommend checking out the projects source on github.
评论 0
登录后参与评分
还没有评论,来抢沙发吧