From ad10fe2d821776a65663d4de0cb72ce71f9000cd Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期一, 11 三月 2019 16:31:38 +0800
Subject: [PATCH] 3335 装备洗练功能开发。
---
UI/Core/ToggleButton.cs | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/UI/Core/ToggleButton.cs b/UI/Core/ToggleButton.cs
index 09ff2d1..d6f6eac 100644
--- a/UI/Core/ToggleButton.cs
+++ b/UI/Core/ToggleButton.cs
@@ -78,6 +78,14 @@
}
}
+ public void SetListener(UnityAction action )
+ {
+ if (button != null)
+ {
+ button.SetListener(action);
+ }
+ }
+
public void AddListener(UnityAction _action)
{
if (button != null)
--
Gitblit v1.8.0