From 48a4fb470a60def342c6b8081ebc28dcc0d6e57d Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Tue, 17 Oct 2023 14:51:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=95=B0=E6=8D=AE=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E6=8E=A5=E5=8F=A3SetDataDirty()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Internal/UIComponent.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Runtime/Internal/UIComponent.cs b/Runtime/Internal/UIComponent.cs index 8a1266e6..d65138dd 100644 --- a/Runtime/Internal/UIComponent.cs +++ b/Runtime/Internal/UIComponent.cs @@ -41,6 +41,11 @@ namespace XCharts.Runtime return true; } + public void SetDataDirty() + { + m_DataDirty = true; + } + protected override void InitComponent() { base.InitComponent();