From a9b4bb435fc0eda83fa5338f40ff854bd9844361 Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期一, 22 二月 2021 17:53:33 +0800
Subject: [PATCH] Merge branch 'master' into ILRuntime
---
UI/Common/FunctionButtonGroup.cs | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/UI/Common/FunctionButtonGroup.cs b/UI/Common/FunctionButtonGroup.cs
index 5fa641a..596aab0 100644
--- a/UI/Common/FunctionButtonGroup.cs
+++ b/UI/Common/FunctionButtonGroup.cs
@@ -233,6 +233,13 @@
}
}
+ public void SetFunctionButtonActive(int order, bool isShow)
+ {
+ if (functionButtons.ContainsKey(order))
+ {
+ functionButtons[order].gameObject.SetActive(isShow);
+ }
+ }
}
}
--
Gitblit v1.8.0