작업 조건 분석 UI 수정
This commit is contained in:
@@ -15,7 +15,7 @@ public class UI_GraphChart : UIBase, IPointerClickHandler
|
||||
//public UI_DateTime prf_dateTime;
|
||||
//public RectTransform Content_DateTime;
|
||||
|
||||
private UI_GraphChartData chartDetailData;
|
||||
public UI_GraphChartData chartDetailData;
|
||||
private TextMeshProUGUI GraphName;
|
||||
|
||||
public string graphName;
|
||||
@@ -38,7 +38,24 @@ public class UI_GraphChart : UIBase, IPointerClickHandler
|
||||
{
|
||||
Graph = GetComponentInChildren<GraphChart>();
|
||||
//prf_dateTime = Resources.Load<UI_DateTime>("Prefabs/UI/PRF_UI_DateTime");
|
||||
chartDetailData = FindSingle<UI_GraphChartData>();
|
||||
chartDetailData = GetComponentInChildren<UI_GraphChartData>(true);
|
||||
}
|
||||
public void Update()
|
||||
{
|
||||
if (!isMainChart)
|
||||
return;
|
||||
|
||||
if (Input.GetMouseButtonDown(0))
|
||||
{
|
||||
if (RectTransformUtility.RectangleContainsScreenPoint(chartDetailData.rectTransform, Input.mousePosition))
|
||||
{
|
||||
Debug.Log("¹þ¾î³²");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
chartDetailData.SetActive(false);
|
||||
}
|
||||
}
|
||||
public void OnPointerClick(PointerEventData eventData)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user