// Token: 0x060004A6 RID: 1190 RVA: 0x00012B14 File Offset: 0x00010D14
        public static void BuildCostStringStyledDefault(CostTypeDef costTypeDef, CostTypeDef.BuildCostStringStyledContext context)
        {
            StringBuilder stringBuilder = context.stringBuilder;

            stringBuilder.Append("<nobr>");
            if (costTypeDef.costStringStyle != null)
            {
                stringBuilder.Append("<style=");
                stringBuilder.Append(costTypeDef.costStringStyle);
                stringBuilder.Append(">");
            }
            if (context.includeColor)
            {
                Color32 costColor = costTypeDef.GetCostColor(context.forWorldDisplay);
                stringBuilder.Append("<color=#");
                stringBuilder.AppendColor32RGBHexValues(costColor);
                stringBuilder.Append(">");
            }
            costTypeDef.BuildCostString(context.cost, context.stringBuilder);
            if (context.includeColor)
            {
                stringBuilder.Append("</color>");
            }
            if (costTypeDef.costStringStyle != null)
            {
                stringBuilder.Append("</style>");
            }
            stringBuilder.Append("</nobr>");
        }
 // Token: 0x060009DE RID: 2526 RVA: 0x0002B010 File Offset: 0x00029210
 private void FixedUpdate()
 {
     if (this.targetTextMesh)
     {
         CostHologramContent.sharedStringBuilder.Clear();
         Color       color       = Color.white;
         CostTypeDef costTypeDef = CostTypeCatalog.GetCostTypeDef(this.costType);
         if (costTypeDef != null)
         {
             costTypeDef.BuildCostStringStyled(this.displayValue, CostHologramContent.sharedStringBuilder, true, false);
             color = costTypeDef.GetCostColor(true);
         }
         this.targetTextMesh.SetText(CostHologramContent.sharedStringBuilder);
         this.targetTextMesh.color = color;
     }
 }