Skip to content

Commit 3bf89b1

Browse files
committed
refactor: Renamed AssetSearcher to AssetHelper
1 parent 4f5f532 commit 3bf89b1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Editor/Drawers/GenericUnityObjectHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public GenericUnityObjectHelper(Object target)
3333
return;
3434

3535
_drawForGeneric = true;
36-
_monoScript = AssetSearcher.GetMonoScriptFromType(_genericType);
36+
_monoScript = AssetHelper.GetMonoScriptFromType(_genericType);
3737
}
3838

3939
/// <summary>

Editor/GenerationDatabase/TypeInfo/TypeInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private string GetClassGUID(Type type)
4949
if (TypeCannotHaveGUID())
5050
return string.Empty;
5151

52-
return AssetSearcher.GetClassGUID(type);
52+
return AssetHelper.GetClassGUID(type);
5353
}
5454

5555
public string TypeNameAndAssembly => _typeNameAndAssembly;
@@ -182,7 +182,7 @@ private void UpdateGUIDIfNeeded<TObject>()
182182
if (TypeAtGUIDIsSame())
183183
return;
184184

185-
string newGUID = AssetSearcher.GetClassGUID(Type);
185+
string newGUID = AssetHelper.GetClassGUID(Type);
186186

187187
if (string.IsNullOrEmpty(newGUID) || GUID == newGUID)
188188
return;

0 commit comments

Comments
 (0)