MOD介绍
转载自CaptainOfCoit Some sort of UI framework/loader for Cities: Skylines 2 HookUI is some sort of UI framework/loader for Cities: Skylines 2 (C:S2). It replaces the default UI with a UI that provides hooks for mod-authors to inject their own UI components, makes it fit in with the existing game UI easily. Warning: This is a early version of the loader/framework, expect dragons The framework/loadah gives you the ability of writing little pieces of UI that you can use just as UI mods, or integrate with your own mod so you don't have to focus too much on UI code. It consists of a few parts: Ingame UI HookUILoader - Loads actual components into the UI somehow HookUIAPI - Exposes a JS API that mod authors use to "register" various UI components. HookUIMenu - Shows a menu to activate/deactivate panels made by mod authors. Injected into game at runtime HookUIMod - C# mod made for C:S2 HookUILib - C# library for mod authors to use to directly embed UIs with their own C# mods

