Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Removed unnecessary code.
Browse files Browse the repository at this point in the history
  • Loading branch information
RequiDev committed Aug 20, 2021
1 parent 3abe0a2 commit e04de83
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions ReModCE/Components/ButtonAdjustmentsComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,32 +86,6 @@ public override void OnUiManagerInit(UiManager uiManager)
}));

});

//var subMenu = moverMenu.AddSubMenu($"{buttonName}", $"Move \"{buttonName}\" button");
//subMenu.AddSpacing();
//subMenu.AddButton("UP", $"Move \"{buttonName}\" button up.", () =>
//{
// button.transform.localPosition += new Vector3(0f, UiManager.ButtonSize);
// buttonOffsetY.SetValue(buttonOffsetX + 1);
//});
//subMenu.AddSpacing(2);
//subMenu.AddButton("LEFT", $"Move \"{buttonName}\" button left.", () =>
//{
// button.transform.localPosition += new Vector3(-UiManager.ButtonSize, 0f);
// buttonOffsetX.SetValue(buttonOffsetX - 1);
//});
//subMenu.AddSpacing();
//subMenu.AddButton("RIGHT", $"Move \"{buttonName}\" button right.", () =>
//{
// button.transform.localPosition += new Vector3(UiManager.ButtonSize, 0f);
// buttonOffsetX.SetValue(buttonOffsetX + 1);
//});
//subMenu.AddSpacing(2);
//subMenu.AddButton("DOWN", $"Move \"{buttonName}\" button down.", () =>
//{
// button.transform.localPosition += new Vector3(0f, -UiManager.ButtonSize);
// buttonOffsetY.SetValue(buttonOffsetX - 1);
//});

var buttonPos = new Vector3(buttonPosX, buttonPosY);
if (buttonPos != Vector3.zero)
Expand Down

0 comments on commit e04de83

Please sign in to comment.