Skip to content

v1.0.2 - Fix Button Click Event

Latest

Choose a tag to compare

@minwei35 minwei35 released this 18 May 15:19

v1.0.2 - Fix Button Click Event

Changes

  • Fixed restart button not responding to clicks
  • Use NClickableControl.Released C# event instead of Godot pressed signal
  • Game's custom buttons (NPauseMenuButton) inherit from NClickableControl, not Button
  • Added multiple fallback strategies for event subscription

Installation

  1. Download MultiplayerRestart-v1.0.2.zip
  2. Extract MultiplayerRestart folder to <game_dir>/mods/

v1.0.2 - 修复按钮点击事件

变更

  • 修复重开按钮无法响应点击的问题
  • 使用 NClickableControl.Released C# 事件代替 Godot pressed 信号
  • 游戏的自定义按钮继承自 NClickableControl,不是标准 Button
  • 添加多种事件订阅回退策略

安装方法

  1. 下载 MultiplayerRestart-v1.0.2.zip
  2. 解压 MultiplayerRestart 文件夹到 <游戏目录>/mods/