Skip to content

Commit ff425eb

Browse files
committed
refactor: removing unnecessary odin imports
1 parent 607e83f commit ff425eb

4 files changed

Lines changed: 1 addition & 88 deletions

File tree

Editor/FieldInfoHelper.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using System.Collections.Generic;
1414
using System.Linq;
1515
using System.Reflection;
16-
using Sirenix.OdinInspector;
1716
using UnityEngine;
1817

1918
namespace Giezi.Tools
@@ -37,7 +36,7 @@ public static FieldInfo GetFieldRecursively(Type type, string attributeName)
3736

3837
public static IEnumerable<FieldInfo> GetAllFields(Type t)
3938
{
40-
if (t == null || t == typeof(ScriptableObject) || t == typeof(SerializedScriptableObject))
39+
if (t == null || t == typeof(ScriptableObject))
4140
return Enumerable.Empty<FieldInfo>();
4241
return t.GetFields(bindFlags).Concat(GetAllFields(t.BaseType));
4342
}

Editor/SOVariant.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// Change History:
99
//==================================
1010

11-
12-
using System;
1311
using System.Collections;
1412
using System.Collections.Generic;
1513
using System.Linq;

Editor/UpgradeSOVariantHelper.cs

Lines changed: 0 additions & 81 deletions
This file was deleted.

Editor/UpgradeSOVariantHelper.cs.meta

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)