[doc] update comment and doc

This commit is contained in:
monitor1394
2022-06-15 07:36:05 +08:00
parent c24d89c8ab
commit 87049b5170
30 changed files with 374 additions and 221 deletions

View File

@@ -127,17 +127,33 @@ namespace XCharts.Runtime
set { if (PropertyUtil.SetStruct(ref m_Alignment, value)) SetComponentDirty(); }
}
#if dUI_TextMeshPro
/// <summary>
/// the font of textmeshpro.
/// |TextMeshPro字体。
/// </summary>
public TMP_FontAsset tmpFont
{
get { return m_TMPFont; }
set { if (PropertyUtil.SetClass(ref m_TMPFont, value)) SetComponentDirty(); }
}
/// <summary>
/// the font style of TextMeshPro.
/// |TextMeshPro字体类型。
/// </summary>
public FontStyles tmpFontStyle
{
get { return m_TMPFontStyle; }
set { if (PropertyUtil.SetStruct(ref m_TMPFontStyle, value)) SetComponentDirty(); }
}
/// <summary>
/// the text alignment of TextMeshPro.
/// |TextMeshPro字体对齐方式。
/// </summary>
public TextAlignmentOptions tmpFontStyle
{
get { return m_TMPAlignment; }
set { if (PropertyUtil.SetStruct(ref m_TMPAlignment, value)) SetComponentDirty(); }
}
#endif
public TextStyle() { }