mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 09:50:15 +00:00
CandlestickChart加入菜单栏 #146
This commit is contained in:
@@ -142,7 +142,12 @@ namespace XCharts
|
|||||||
AddChart<LiquidChart>("LiquidChart");
|
AddChart<LiquidChart>("LiquidChart");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[MenuItem("XCharts/CandlestickChart", priority = 54)]
|
||||||
|
[MenuItem("GameObject/XCharts/CandlestickChart", priority = 54)]
|
||||||
|
public static void CandlestickChart()
|
||||||
|
{
|
||||||
|
AddChart<CandlestickChart>("CandlestickChart");
|
||||||
|
}
|
||||||
|
|
||||||
[MenuItem("XCharts/Themes Reload")]
|
[MenuItem("XCharts/Themes Reload")]
|
||||||
public static void ReloadTheme()
|
public static void ReloadTheme()
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using UnityEngine;
|
|||||||
|
|
||||||
namespace XCharts
|
namespace XCharts
|
||||||
{
|
{
|
||||||
[AddComponentMenu("XCharts/CandlestickChart", 21)]
|
[AddComponentMenu("XCharts/CandlestickChart", 23)]
|
||||||
[ExecuteInEditMode]
|
[ExecuteInEditMode]
|
||||||
[RequireComponent(typeof(RectTransform))]
|
[RequireComponent(typeof(RectTransform))]
|
||||||
[DisallowMultipleComponent]
|
[DisallowMultipleComponent]
|
||||||
|
|||||||
Reference in New Issue
Block a user