public static void IndicatorTurnOff(string id) { IndicatorGlowfader indicatorGlowFader = GetIndicatorGlowFader(id); if (indicatorGlowFader != null) { indicatorGlowFader.Glow(false, Color.black); } }
public static void IndicatorRingChangeColor(string id, Color newColor, float multiplier = 1) { IndicatorGlowfader indicatorGlowFader = GetIndicatorGlowFader(id); Color color = new Color(newColor.r * multiplier, newColor.g * multiplier, newColor.b * multiplier); if (indicatorGlowFader != null) { indicatorGlowFader.Glow(true, color); } }