public static bool Prefix(Aquarium __instance) { var AColor = __instance.GetAllComponentsInChildren <MeshRenderer>(); foreach (var aqColor in AColor) { if (aqColor.name.Contains("Aquarium")) { aqColor.material.color = new Color32(Convert.ToByte(Config.fabricatorValue), Convert.ToByte(Config.fabricatorgValue), Convert.ToByte(Config.fabricatorbValue), 1); } } return(true); }