Esempio n. 1
0
 public static void Postfix(KMonoBehaviour ___root, Tag[] tags)
 {
     try
     {
         if (IsActive(tags))
         {
             Painter.ApplyColorToKAnimControllerBase(___root);
         }
     }
     catch (Exception e)
     {
         State.Common.Logger.LogOnce("FilteredStorage_OnFilterChanged.Postfix", e);
     }
 }
Esempio n. 2
0
 public static void Postfix(Ownable __instance)
 {
     try
     {
         if (IsOwned(__instance))
         {
             Painter.ApplyColorToKAnimControllerBase(__instance);
         }
     }
     catch (Exception e)
     {
         State.Common.Logger.LogOnce("Ownable_UpdateTint.Postfix", e);
     }
 }