예제 #1
0
            public static void PaintNodeColorAnimated(uGUI_CraftNode node)
            {
#if SUBNAUTICA
                var frontColor = RecyclingData.IsBlackListed(node.techType0) ? Color.black : GUIFormatter.frontColor;
#elif BELOWZERO
                var frontColor = RecyclingData.IsBlackListed(node.techType) ? Color.black : GUIFormatter.frontColor;
#endif
                AnimateIconColor(node.icon, frontColor, backColor);
            }
예제 #2
0
 private static void Postfix(uGUI_CraftingMenu __instance, ref bool __result, uGUI_CraftNode sender)
 {
     if (!Active)
     {
         return;
     }
     if (CurrentMenu != __instance)
     {
         return;
     }
     if (sender.action != TreeAction.Craft)
     {
         return;
     }
     __result &= !RecyclingData.IsBlackListed(sender.techType0);
 }
예제 #3
0
            public static void PaintNodeColorAnimated(uGUI_CraftNode node)
            {
                var frontColor = RecyclingData.IsBlackListed(node.techType0) ? Color.black : GUIFormatter.frontColor;

                AnimateIconColor(node.icon, frontColor, backColor);
            }