From 0d7482d5a0e8bf082abfb4b5bfbfee03597cdc3a Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期四, 25 二月 2021 15:43:08 +0800
Subject: [PATCH] 9527 去掉xlua
---
UI/Common/FunctionButton.cs | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/UI/Common/FunctionButton.cs b/UI/Common/FunctionButton.cs
index 5a1403b..6b30ac2 100644
--- a/UI/Common/FunctionButton.cs
+++ b/UI/Common/FunctionButton.cs
@@ -13,7 +13,7 @@
namespace Snxxz.UI
{
- [XLua.LuaCallCSharp]
+
public class FunctionButton : Button
{
[SerializeField] int m_Order = 0;
@@ -27,9 +27,9 @@
[SerializeField] int m_FunctionId = -1;
public int functionId {
get { return m_FunctionId; }
- set {
- m_FunctionId = value;
- OnFunctionUnLockStateChange();
+ set {
+ m_FunctionId = value;
+ OnFunctionUnLockStateChange();
}
}
@@ -64,11 +64,11 @@
}
[SerializeField] RedpointBehaviour m_Redpoint;
- public RedpointBehaviour redpoint {
- get { return m_Redpoint; }
- set { m_Redpoint = value; }
- }
-
+ public RedpointBehaviour redpoint {
+ get { return m_Redpoint; }
+ set { m_Redpoint = value; }
+ }
+
[SerializeField] Shadow m_Shadow;
public Shadow shadow {
get { return this.m_Shadow; }
@@ -181,9 +181,9 @@
if (!invokeForce && state == TitleBtnState.Click)
{
- if (repeatClickFunc != null)
- {
- repeatClickFunc();
+ if (repeatClickFunc != null)
+ {
+ repeatClickFunc();
}
return;
}
--
Gitblit v1.8.0