public static Color32 UF_ReadColor(string chunk, int startIdx) { string strVal = UF_ReadString(chunk, startIdx); if (string.IsNullOrEmpty(strVal)) { return(new Color32(255, 255, 255, 255)); } return(GHelper.UF_UF_ParseStringToColor32(strVal)); }
public static Color32 UF_ReadColor(string chunk, int startIdx) { string strVal = UF_ReadString(chunk, startIdx); if (string.IsNullOrEmpty(strVal)) { return(new Color32(255, 255, 255, 255)); } return(GHelper.UF_UF_ParseStringToColor32(strVal)); }