Repair ======================== .. code-block:: csharp public sealed class Repair : MonoBehaviour, IRequireInject Restores a unit's health over time by spending the owner player's resources, until the unit is fully healed, then removes itself. .. note:: Unlike every other module described in this **Units** partition, ``Repair`` still uses the legacy mechanism from before the module system rework: it is a real Unity ``MonoBehaviour`` component, added to and removed from a unit's GameObject dynamically at runtime, rather than a ``BaseUnitModule``/``UnitLogicModule`` created by the unit's builder from **UnitData** toggles. It may be migrated to the new module system in a future asset version.