// Token: 0x06000004 RID: 4 RVA: 0x0000208C File Offset: 0x0000028C
 public static bool Prefix(FlashLight __instance)
 {
     SkinnedMeshRenderer[] allComponentsInChildren = __instance.GetAllComponentsInChildren <SkinnedMeshRenderer>();
     foreach (SkinnedMeshRenderer skinnedMeshRenderer in allComponentsInChildren)
     {
         bool flag = skinnedMeshRenderer.name.Contains("flashlight_batt_rig_Flashlight");
         if (flag)
         {
             skinnedMeshRenderer.material.color = new Color32(Convert.ToByte(MainPatch.config.Flightvalue), Convert.ToByte(MainPatch.config.Flightgvalue), Convert.ToByte(MainPatch.config.Flightbvalue), 1);
         }
     }
     return(true);
 }