mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 23:50:29 +01:00
Added using for SceneManager.Object and SceneManager.Utils. Removed unnecessary code for RNUIMouseInputHandler after having added InputManager dependency.
This commit is contained in:
parent
39f7bf6b95
commit
a2b935659f
1 changed files with 2 additions and 13 deletions
|
|
@ -3,8 +3,8 @@ using RAGENativeUI;
|
||||||
using RAGENativeUI.Elements;
|
using RAGENativeUI.Elements;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using SceneManager.Objects;
|
||||||
using System.Windows.Forms;
|
using SceneManager.Utils;
|
||||||
|
|
||||||
namespace SceneManager
|
namespace SceneManager
|
||||||
{
|
{
|
||||||
|
|
@ -109,17 +109,6 @@ namespace SceneManager
|
||||||
private static void SettingsMenu_OnMenuOpen(UIMenu menu)
|
private static void SettingsMenu_OnMenuOpen(UIMenu menu)
|
||||||
{
|
{
|
||||||
var scrollerItems = new List<UIMenuScrollerItem> { speedUnits };
|
var scrollerItems = new List<UIMenuScrollerItem> { speedUnits };
|
||||||
var checkboxItems = new Dictionary<UIMenuCheckboxItem, RNUIMouseInputHandler.Function>()
|
|
||||||
{
|
|
||||||
{ threeDWaypoints, null},
|
|
||||||
{ mapBlips, ToggleMapBlips},
|
|
||||||
{ hints, ToggleHints}
|
|
||||||
};
|
|
||||||
var selectItems = new Dictionary<UIMenuItem, RNUIMouseInputHandler.Function>()
|
|
||||||
{
|
|
||||||
{ saveSettings, ToggleSettings }
|
|
||||||
};
|
|
||||||
|
|
||||||
RNUIMouseInputHandler.Initialize(menu, scrollerItems);
|
RNUIMouseInputHandler.Initialize(menu, scrollerItems);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue