static void Postfix(HellPassListCard __instance) { HellPassListCard listCard = __instance; var currentPass = listCard.pactObj; string description = CustomHell.GetGenericDescription(currentPass); Debug.Log($"Fixing description post-hoc; {listCard.tmpText.text} -> {description}"); listCard.tmpText.text = description; }
static void Postfix(HellPassButton __instance) { HellPassButton button = __instance; var currentPass = button.hellPasses[button.displayedHellPassNum]; string description = CustomHell.GetGenericDescription(currentPass); Debug.Log($"Fixing description post-hoc; {button.description.text} -> {description}"); button.description.text = description; }