first commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
namespace NitroxClient.MonoBehaviours.Gui.MainMenu.ServersList;
|
||||
|
||||
public class MainMenuDeleteServer : uGUI_NavigableControlGrid, uGUI_IButtonReceiver
|
||||
{
|
||||
public MainMenuServerButton serverButton;
|
||||
|
||||
private void Start() => interGridNavigation = new uGUI_InterGridNavigation();
|
||||
|
||||
public bool OnButtonDown(GameInput.Button button)
|
||||
{
|
||||
if (button != GameInput.Button.UICancel)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
OnBack();
|
||||
return true;
|
||||
}
|
||||
|
||||
public void OnBack() => serverButton.CancelDelete();
|
||||
}
|
Reference in New Issue
Block a user