Example #1
0
 static void ColoredLabel_OnEnable_Postfix(ColoredLabel __instance)
 {
     if (StorageHandlerProcessor.hasHandlers(Utils.getPrefabClassId(__instance)))
     {
         setColliderEnabled(__instance, false);
     }
 }
Example #2
0
            static void Prefix(ColoredLabel __instance)
            {
                var input = __instance.signInput.inputField;

                if (input.characterLimit < __instance.text?.Length)
                {
                    input.characterLimit = __instance.text.Length;
                }
            }
Example #3
0
 protected override void Start()
 {
     base.Start();
     label = gameObject.GetComponent <IStorageLabel>()?.label;
 }