Skip to content

Commit

Permalink
style: remove all unused namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammin committed May 21, 2024
1 parent 1672803 commit cd6b4b6
Show file tree
Hide file tree
Showing 40 changed files with 3 additions and 53 deletions.
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Editor/Builders/LDtkBuilderEntity.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Profiling;
using UnityEngine.Tilemaps;

namespace LDtkUnity.Editor
Expand Down
4 changes: 1 addition & 3 deletions Assets/LDtkUnity/Editor/Builders/LDtkBuilderLevel.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Linq;
using UnityEngine;
using UnityEngine.Profiling;
using UnityEngine;

namespace LDtkUnity.Editor
{
Expand Down
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Editor/Builders/LDtkBuilderProject.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Editor/Builders/LDtkBuilderWorld.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
2 changes: 0 additions & 2 deletions Assets/LDtkUnity/Editor/Builders/TilemapTilesBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using Unity.Collections;
using UnityEngine;
using UnityEngine.Profiling;
using UnityEngine.Tilemaps;

namespace LDtkUnity.Editor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Linq;
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using LDtkUnity.InternalBridge;
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Editor/CustomEditor/LDtkIidEditor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Profiling;
using UnityEngine.SceneManagement;

#if UNITY_2021_2_OR_NEWER
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine.Profiling;
using Object = UnityEngine.Object;

namespace LDtkUnity.Editor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Editor/ParsedField/LDtkFieldsFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Editor/PropertyDrawer/LDtkFieldDrawer.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Editor/PropertyDrawer/LDtkFieldsEditor.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Editor/ScriptedImporter/LDtkJsonDigger.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.IO;
using UnityEngine.Assertions;
using UnityEngine.Profiling;
using JsonReader = Utf8Json.JsonReader;
using JsonToken = Utf8Json.JsonToken;

Expand Down
3 changes: 0 additions & 3 deletions Assets/LDtkUnity/Editor/ScriptedImporter/LDtkJsonImporter.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using UnityEngine;
using UnityEngine.Profiling;
using UnityEngine.Tilemaps;
#if UNITY_2020_2_OR_NEWER
using UnityEditor.AssetImporters;
#else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.IO;
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

#if UNITY_2020_2_OR_NEWER
using UnityEditor.AssetImporters;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.IO;
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;
using UnityEngine.Tilemaps;
using Object = UnityEngine.Object;
#if UNITY_2020_2_OR_NEWER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Unity.Collections;
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;
using UnityEngine.Tilemaps;
using Debug = UnityEngine.Debug;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using UnityEditor;
using UnityEditor.U2D.Sprites;
using UnityEngine;
using UnityEngine.Profiling;
using Object = UnityEngine.Object;

namespace LDtkUnity.Editor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.IO;
using UnityEditor;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity.Editor
{
Expand Down
2 changes: 0 additions & 2 deletions Assets/LDtkUnity/InternalBridge/InternalEditorBridge.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Reflection;
using UnityEditor;
using UnityEditor.Profiling;
using UnityEditor.ShortcutManagement;
using UnityEditor.U2D.Sprites;
using UnityEditorInternal;
using UnityEngine;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections;
using System.Runtime.Serialization;
using System.Runtime.Serialization;
using UnityEngine;

namespace LDtkUnity
Expand Down
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Runtime/Tools/Bank/LDtkIidBank.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity
{
Expand Down
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Runtime/Tools/Bank/LDtkUidBank.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity
{
Expand Down
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Runtime/Tools/LDtkExtensionMethods.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Profiling;
using UnityEngine.Tilemaps;

namespace LDtkUnity
Expand Down
5 changes: 1 addition & 4 deletions Assets/LDtkUnity/Runtime/Tools/LDtkKeyFormatUtil.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Collections.Generic;
using System.Text;

namespace LDtkUnity
namespace LDtkUnity
{
/// <summary>
/// A utility class used in conjunction with <see cref="LDtkArtifactAssets"/> to get certain assets by name.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity
{
Expand Down
1 change: 0 additions & 1 deletion Assets/LDtkUnity/Runtime/UnityAssets/Json/LDtkLevelFile.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using UnityEngine;
using UnityEngine.Profiling;

namespace LDtkUnity
{
Expand Down
2 changes: 0 additions & 2 deletions Assets/Tests/EditMode/Tests/TestJsonLoader.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.IO;
using LDtkUnity.Editor;
using NUnit.Framework;
using UnityEngine.Profiling;

namespace LDtkUnity.Tests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using LDtkUnity;
using UnityEngine;
using UnityEngine.Assertions;

namespace Tests.Misc.TestEntityImportInterface
{
Expand Down

0 comments on commit cd6b4b6

Please sign in to comment.