static void ColoredLabel_OnEnable_Postfix(ColoredLabel __instance) { if (StorageHandlerProcessor.hasHandlers(Utils.getPrefabClassId(__instance))) { setColliderEnabled(__instance, false); } }
static void Prefix(ColoredLabel __instance) { var input = __instance.signInput.inputField; if (input.characterLimit < __instance.text?.Length) { input.characterLimit = __instance.text.Length; } }
protected override void Start() { base.Start(); label = gameObject.GetComponent <IStorageLabel>()?.label; }