If you believe any features to be missing, create an issue
- Add to mods folder (or call
Initialize()
) - Add reference to mod
- Inside of
OnApplicationStart
:WingAPI.OnWingInit += new Action<WingAPI.BaseWing>(/*YOUR CODE HERE*/);
// OnApplicationStart:
WingAPI.WingAPI.OnWingInit += new System.Action<Wing.BaseWing>(wing =>
{
WingPage page = wing.CreatePage ("KiraiMod");
WingToggle toggle = page.CreateToggle("Flight", 0, UnityEngine.Color.green, UnityEngine.Color.red, false, new System.Action<bool>(state => Modules.Flight.State = state));
});
- Buttons start at ~320 on this
- Each button is ~120 in size
- Methods taking
index
instead ofpos
expect a button position instead of a coordinate. Ex: (0, 1, 2)
- API
- Basic Raw
- Advanced Raw
- Simplistic
- Reflective
- Features
- Pages
- Buttons
- Toggles
- Sliders