mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 09:20:08 +00:00
3.0 - namespace
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
||||
public sealed class ComponentHandlerAttribute : Attribute
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
||||
public sealed class CoordOptionsAttribute : Attribute
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
||||
public sealed class DefaultAnimationAttribute : Attribute
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
|
||||
public class ListFor : Attribute
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
|
||||
public sealed class ListForComponent : ListFor
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
|
||||
public sealed class ListForSerie : ListFor
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
||||
public sealed class RequireChartComponentAttribute : Attribute
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
||||
/// <summary>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
||||
public sealed class SerieExtraComponentAttribute : Attribute
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
||||
public sealed class SerieHandlerAttribute : Attribute
|
||||
|
||||
@@ -4,7 +4,7 @@ using System;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// The base class of all charts.
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public partial class BaseChart
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public partial class BaseChart
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XUGL;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public partial class BaseChart
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public partial class BaseChart
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ using UnityEngine.EventSystems;
|
||||
using XUGL;
|
||||
using System.Reflection;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[AddComponentMenu("XCharts/EmptyChart", 10)]
|
||||
[ExecuteInEditMode]
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
using System;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// The base class of all graphs or components.
|
||||
|
||||
@@ -4,7 +4,7 @@ using UnityEngine.UI;
|
||||
using System;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[RequireComponent(typeof(CanvasRenderer))]
|
||||
public partial class BaseGraph : MaskableGraphic, IPointerDownHandler, IPointerUpHandler,
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[System.Serializable]
|
||||
public abstract class BaseSerie
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[System.Serializable]
|
||||
public class ChildComponent
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// Coordinate system component.
|
||||
|
||||
@@ -5,7 +5,7 @@ using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[System.Serializable]
|
||||
public class MainComponent : IComparable
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public class MainComponentContext
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// The delegate function for AxisLabel's formatter.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// the layout is horizontal or vertical.
|
||||
|
||||
@@ -4,7 +4,7 @@ using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public interface INeedSerieContainer
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
/// <summary>
|
||||
/// 属性变更接口
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public interface IRectContext
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public interface ISerieContainer
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public interface ISerieDataComponent
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public interface ISerieExtraComponent
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public interface ISimplifiedSerie
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public interface IUpdateRuntimeData
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public class ChartLabel : Image
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public class ChartObject
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ using UnityEngine.UI;
|
||||
using TMPro;
|
||||
#endif
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public class ChartText
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@ using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public class LegendItem
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using System;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[RequireComponent(typeof(CanvasRenderer))]
|
||||
public class Painter : MaskableGraphic
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
internal static class XAxisPool
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
internal static class ListPool<T>
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
internal class ObjectPool<T> where T : new()
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
internal static class SerieDataPool
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public static class SerieLabelPool
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public static class ChartCached
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public static class ChartConst
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XUGL;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public static class ChartDrawer
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@ using TMPro;
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public static class ChartHelper
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public static class ComponentHelper
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
internal static class DataHelper
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public static class LayerHelper
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ using UnityEngine;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public static class MathUtil
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using UnityEngine;
|
||||
using UnityEditor;
|
||||
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[System.Serializable]
|
||||
public class XCResourcesImporter
|
||||
|
||||
@@ -9,7 +9,7 @@ using TMPro;
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
[Serializable]
|
||||
#if UNITY_2018_3
|
||||
|
||||
@@ -10,7 +10,7 @@ using UnityEditor;
|
||||
using TMPro;
|
||||
#endif
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
public static class XCThemeMgr
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.IO;
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
namespace XCharts
|
||||
namespace XCharts.Runtime
|
||||
{
|
||||
class XChartsVersion
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user