mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
1.0 KiB
1.0 KiB
Mira API
A thorough Among Us modding API that covers:
- Roles
- Options
- Gamemodes
- HUD ("Cooldown buttons")
Mira API strives to be simple and easy to use, while also using as many base game elements as possible. The result is a less intrusive, better modding API that covers general use cases.
Usage
Roles
Roles are very simple in Mira API. There are 3 things you need to do to create a custom role:
- Create a class that inherits from a base game role (like
RoleBehaviour,CrewmateRole,ImpostorRole, etc). - Implement the
ICustomRoleinterface from Mira API. - Add the
[RegisterCustomRole]attribute to the class.
See this file for a code example.
Options
Disclaimer
This mod is not affiliated with Among Us or Innersloth LLC, and the content contained therein is not endorsed or otherwise sponsored by Innersloth LLC. Portions of the materials contained herein are property of Innersloth LLC. © Innersloth LLC.