整理和重构代码

This commit is contained in:
monitor1394
2022-12-07 13:16:06 +08:00
parent 84a8e6ca19
commit d67a922a74
11 changed files with 33 additions and 160 deletions

View File

@@ -6,8 +6,7 @@ namespace XCharts.Runtime
{
/// <summary>
/// Background component.
/// |
/// 背景组件。
/// |背景组件。
/// </summary>
[Serializable]
[DisallowMultipleComponent]
@@ -27,7 +26,7 @@ namespace XCharts.Runtime
public bool show
{
get { return m_Show; }
internal set { if (PropertyUtil.SetStruct(ref m_Show, value)) SetComponentDirty(); }
set { if (PropertyUtil.SetStruct(ref m_Show, value)) SetComponentDirty(); }
}
/// <summary>
/// the image of background.