Skip to content

Commit

Permalink
Remove unused 'usings'
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonixRIT committed Jan 17, 2021
1 parent dad3926 commit 955f99f
Show file tree
Hide file tree
Showing 29 changed files with 16 additions and 138 deletions.
5 changes: 0 additions & 5 deletions ButtonTypes/Button.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace UmbraMenu
{
Expand Down
4 changes: 0 additions & 4 deletions ButtonTypes/MulButton.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace UmbraMenu
Expand Down
7 changes: 1 addition & 6 deletions ButtonTypes/NormalButton.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System;
using UnityEngine;

namespace UmbraMenu
Expand Down
4 changes: 0 additions & 4 deletions ButtonTypes/Text.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace UmbraMenu
Expand Down
4 changes: 0 additions & 4 deletions ButtonTypes/TogglableButton.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace UmbraMenu
Expand Down
4 changes: 0 additions & 4 deletions ButtonTypes/TogglableMulButton.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace UmbraMenu
Expand Down
7 changes: 1 addition & 6 deletions Keybinds.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine;

namespace UmbraMenu
{
Expand Down
3 changes: 0 additions & 3 deletions Loader.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using RoR2;
using UnityEngine;
using Octokit;

Expand Down
6 changes: 1 addition & 5 deletions MenuTypes/ListMenu.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using UnityEngine;

namespace UmbraMenu
Expand Down
9 changes: 1 addition & 8 deletions MenuTypes/Menu.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RoR2;
using System.Collections.Generic;
using UnityEngine;
using System.Reflection;

namespace UmbraMenu
{
Expand Down
8 changes: 1 addition & 7 deletions MenuTypes/NormalMenu.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using RewiredConsts;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using System.Collections.Generic;
using UnityEngine;

namespace UmbraMenu
Expand Down
2 changes: 0 additions & 2 deletions Menus/BuffList.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RoR2;
using UnityEngine;

Expand Down
4 changes: 0 additions & 4 deletions Menus/CharacterList.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using RoR2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace UmbraMenu.Menus
Expand Down
5 changes: 1 addition & 4 deletions Menus/ChestItemList.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RoR2;
using UnityEngine;

Expand Down
6 changes: 1 addition & 5 deletions Menus/EquipmentList.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using RoR2;
using UnityEngine;

Expand Down
6 changes: 1 addition & 5 deletions Menus/ItemList.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using RoR2;
using UnityEngine;

Expand Down
3 changes: 0 additions & 3 deletions Menus/Items.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine.Experimental.Rendering;
using RoR2;
using UnityEngine;
using UnityEngine.Networking;
Expand Down
6 changes: 1 addition & 5 deletions Menus/KeybindList.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using UnityEngine;

namespace UmbraMenu.Menus
Expand Down
9 changes: 1 addition & 8 deletions Menus/Main.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using UnityEngine;
using RoR2;
using RoR2.UI.MainMenu;
using System.IO;

namespace UmbraMenu.Menus
{
Expand Down
7 changes: 1 addition & 6 deletions Menus/Settings.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using RoR2;
using System.Collections.Generic;
using UnityEngine;
using System.Text;
using System.Threading.Tasks;

namespace UmbraMenu.Menus
{
Expand Down
6 changes: 1 addition & 5 deletions Menus/SpawnList.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using UnityEngine;
using RoR2;

Expand Down
4 changes: 0 additions & 4 deletions Menus/StatsMod.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using System;
using System.Collections.Generic;
using UnityEngine;
using RoR2;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UmbraMenu.Menus
{
Expand Down
1 change: 0 additions & 1 deletion Menus/Teleporter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using UnityEngine;
using RoR2;
using System.Collections.Generic;
using System;
using System.Linq;


Expand Down
1 change: 0 additions & 1 deletion Menus/ViewStats.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using RoR2;
using UnityEngine;

namespace UmbraMenu.Menus
Expand Down
6 changes: 1 addition & 5 deletions Navigation.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
using UnityEngine;

namespace UmbraMenu
Expand Down
8 changes: 1 addition & 7 deletions Styles.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using RoR2;
using UnityEngine;
using UnityEngine;

namespace UmbraMenu
{
Expand Down
5 changes: 1 addition & 4 deletions Textures.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using UnityEngine;

namespace UmbraMenu
{
Expand Down
11 changes: 1 addition & 10 deletions UmbraMenu.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
// TODO:
// Update allowed hurtbox list to track new mobs
// charge purple w/ HoldOutZoneController
// remove unused code (including unused 'using's)
// Implement Settings Menu
// Implement enhancements and bug fixes from github issues.
// Add Comments :)

using System;
using System;
using System.Collections.Generic;
using UnityEngine;
using RoR2;
Expand Down Expand Up @@ -277,7 +269,6 @@ public void FixedUpdate()
#region Misc Functions
public void OnSceneLoaded(Scene s1, Scene s2)
{
Utility.WriteToLog($"{s1.name} -> {s2.name}");
if (s2 != null)
{
bool inGame = s2.name != "title" && s2.name != "lobby" && s2.name != "" && s2.name != " ";
Expand Down
3 changes: 0 additions & 3 deletions Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
using UnityEngine;
using System.Linq;
using RoR2;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using System.IO;
using Octokit;

namespace UmbraMenu
{
Expand Down

0 comments on commit 955f99f

Please sign in to comment.