コード例 #1
0
 public static void ToUssString(StyleSheet sheet, UssExportOptions options, StyleProperty property, StringBuilder sb)
 {
     if (property.name == "cursor" && property.values.Length > 1 && !property.IsVariable())
     {
         for (var i = 0; i < property.values.Length; i++)
         {
             var propertyValueStr = ValueHandleToUssString(sheet, options, property.name, property.values[i]);
             sb.Append(" ");
             sb.Append(propertyValueStr);
         }
     }
     else
     {
         var valueIndex = 0;
         sb.Append(" ");
         ValueHandlesToUssString(sb, sheet, options, property.name, property.values, ref valueIndex);
     }
 }