修复Unity版本兼容问题

This commit is contained in:
monitor1394
2021-02-21 22:15:07 +08:00
parent 08f5a136c0
commit 8e5b6f159b
7 changed files with 18 additions and 15 deletions

View File

@@ -1,7 +1,6 @@
{
"name": "XCharts.Runtime",
"references": [
"Unity.TextMeshPro"
],
"optionalUnityReferences": [],
"includePlatforms": [],

View File

@@ -14,7 +14,10 @@ using TMPro;
namespace XCharts
{
[Serializable]
#if UNITY_2018_3
[ExcludeFromPresetAttribute]
#endif
public class XChartsSettings : ScriptableObject
{