From 938ae629051daa0dc579c9d1eab176fcf90982c3 Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Thu, 17 Aug 2023 19:51:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0ChartLabel=E7=9A=84IsActiveBy?= =?UTF-8?q?Scale=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Internal/Object/ChartLabel.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Runtime/Internal/Object/ChartLabel.cs b/Runtime/Internal/Object/ChartLabel.cs index a384543a..50d685e7 100644 --- a/Runtime/Internal/Object/ChartLabel.cs +++ b/Runtime/Internal/Object/ChartLabel.cs @@ -195,6 +195,11 @@ namespace XCharts.Runtime return transform.localPosition; } + public bool IsActiveByScale() + { + return m_Active; + } + public void SetActive(bool flag) { m_Active = flag;