diff --git a/Assets/Scripts/UI/Components/BoolButton.cs b/Assets/Scripts/UI/Components/BoolButton.cs index 4f49e921a..1697781ec 100644 --- a/Assets/Scripts/UI/Components/BoolButton.cs +++ b/Assets/Scripts/UI/Components/BoolButton.cs @@ -11,7 +11,6 @@ namespace AibisDream public class BoolButton : MonoBehaviour { private Image _buttonImage; - private LocalizeStringEvent _stringEvent; private Button _button; public BoolButtonData data; public Func getBool; @@ -27,7 +26,6 @@ namespace AibisDream public void Awake() { - _stringEvent = GetComponentInChildren(); _buttonImage = GetComponentInChildren(); // 监听按钮点击 _button = GetComponent