mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-16 05:10:12 +00:00
24 lines
689 B
C#
24 lines
689 B
C#
/******************************************/
|
|
/* */
|
|
/* Copyright (c) 2018 monitor1394 */
|
|
/* https://github.com/monitor1394 */
|
|
/* */
|
|
/******************************************/
|
|
|
|
using UnityEditor;
|
|
|
|
namespace XCharts
|
|
{
|
|
[CustomPropertyDrawer(typeof(XAxis), true)]
|
|
public class XAxisDrawer : AxisDrawer
|
|
{
|
|
protected override string GetDisplayName(string displayName)
|
|
{
|
|
if (displayName.StartsWith("Element"))
|
|
{
|
|
displayName = displayName.Replace("Element", "X Axis");
|
|
}
|
|
return displayName;
|
|
}
|
|
}
|
|
} |