public static void SetHairColorSecondOnComp(ThingComp alienComp, Color value) { ReflectionUtil.GetPublicField(alienComp, "hairColorSecond").SetValue(alienComp, value); }
public static Color GetHairColorSecondFromComp(ThingComp alienComp) { return((Color)ReflectionUtil.GetPublicField(alienComp, "hairColorSecond").GetValue(alienComp)); }
public static void SetSkinColorOnComp(ThingComp alienComp, Color value) { ReflectionUtil.GetPublicField(alienComp, "skinColor").SetValue(alienComp, value); }
public static Color GetSkinColorFromComp(ThingComp alienComp) { return((Color)ReflectionUtil.GetPublicField(alienComp, "skinColor").GetValue(alienComp)); }
public static void SetCrownTypeOnComp(ThingComp alienComp, string value) { ReflectionUtil.GetPublicField(alienComp, "crownType").SetValue(alienComp, value); }
public static string GetCrownTypeFromComp(ThingComp alienComp) { return(ReflectionUtil.GetPublicField(alienComp, "crownType").GetValue(alienComp) as string); }