public override void OnStart(StartState state) { base.OnStart(state); toggle = Identifiers.FindFirst <IToggle>(part, toggleID); activeSource = ColorSourceArray.of(activeColor); if (toggle == null) { if (!string.IsNullOrEmpty(inactiveColor)) { Logging.Warn("Ignoring inactiveColor on " + GetType() + " of " + part.GetTitle() + " (no toggle was specified)"); } } else { inactiveSource = ColorSourceArray.of(inactiveColor); } }