mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 18:30:14 +00:00
Fixed a build compatibility error
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
|
* (2021.01.21) Fixed a build compatibility error
|
||||||
* (2021.01.19) Add `XChartsSettings` `editorShowAllListData` parameter to configure whether to display all the list's data in Inspector
|
* (2021.01.19) Add `XChartsSettings` `editorShowAllListData` parameter to configure whether to display all the list's data in Inspector
|
||||||
* (2021.01.19) Release `v2.0.0-preview.1` version
|
* (2021.01.19) Release `v2.0.0-preview.1` version
|
||||||
* (2021.01.02) Release `v1.6.3` version
|
* (2021.01.02) Release `v1.6.3` version
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
|
* (2021.01.21) 修复打包兼容报错问题
|
||||||
* (2021.01.19) 增加`XChartsSettings`的`editorShowAllListData`参数配置是否在`Inspector`中显示列表的所有数据
|
* (2021.01.19) 增加`XChartsSettings`的`editorShowAllListData`参数配置是否在`Inspector`中显示列表的所有数据
|
||||||
* (2021.01.19) 发布`v2.0.0-preview.1`版本
|
* (2021.01.19) 发布`v2.0.0-preview.1`版本
|
||||||
* (2021.01.02) 发布`v1.6.3`版本
|
* (2021.01.02) 发布`v1.6.3`版本
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
using System.Runtime.InteropServices;
|
/************************************************/
|
||||||
/************************************************/
|
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (c) 2018 - 2021 monitor1394 */
|
/* Copyright (c) 2018 - 2021 monitor1394 */
|
||||||
/* https://github.com/monitor1394 */
|
/* https://github.com/monitor1394 */
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#if UNITY_EDITOR
|
||||||
/************************************************/
|
/************************************************/
|
||||||
/* */
|
/* */
|
||||||
/* Copyright (c) 2018 - 2021 monitor1394 */
|
/* Copyright (c) 2018 - 2021 monitor1394 */
|
||||||
@@ -90,4 +91,5 @@ namespace XCharts
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
@@ -412,8 +412,10 @@ namespace XCharts
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if UNITY_EDITOR
|
||||||
public static void EnableTextMeshPro()
|
public static void EnableTextMeshPro()
|
||||||
{
|
{
|
||||||
|
|
||||||
DefineSymbolsUtil.AddGlobalDefine("dUI_TextMeshPro");
|
DefineSymbolsUtil.AddGlobalDefine("dUI_TextMeshPro");
|
||||||
RemoveAllChartObject();
|
RemoveAllChartObject();
|
||||||
}
|
}
|
||||||
@@ -423,5 +425,6 @@ namespace XCharts
|
|||||||
DefineSymbolsUtil.RemoveGlobalDefine("dUI_TextMeshPro");
|
DefineSymbolsUtil.RemoveGlobalDefine("dUI_TextMeshPro");
|
||||||
RemoveAllChartObject();
|
RemoveAllChartObject();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -18,9 +18,9 @@ namespace XCharts
|
|||||||
public class XChartsSettings : ScriptableObject
|
public class XChartsSettings : ScriptableObject
|
||||||
{
|
{
|
||||||
|
|
||||||
[SerializeField] private Font m_Font;
|
[SerializeField] private Font m_Font = null;
|
||||||
#if dUI_TextMeshPro
|
#if dUI_TextMeshPro
|
||||||
[SerializeField] private TMP_FontAsset m_TMPFont;
|
[SerializeField] private TMP_FontAsset m_TMPFont = null;
|
||||||
#endif
|
#endif
|
||||||
[SerializeField] [Range(1, 200)] private int m_FontSizeLv1 = 28;
|
[SerializeField] [Range(1, 200)] private int m_FontSizeLv1 = 28;
|
||||||
[SerializeField] [Range(1, 200)] private int m_FontSizeLv2 = 24;
|
[SerializeField] [Range(1, 200)] private int m_FontSizeLv2 = 24;
|
||||||
|
|||||||
Reference in New Issue
Block a user