Skip to content

Commit ba82f47

Browse files
committed
fixed compiler warning by marking GetEnumerator as new
1 parent f56fc38 commit ba82f47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Scripts/Runtime/ScriptableObjectCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ public static ScriptableObjectCollection<ObjectType> Values
401401
set => base[index] = value;
402402
}
403403

404-
public IEnumerator<ObjectType> GetEnumerator()
404+
public new IEnumerator<ObjectType> GetEnumerator()
405405
{
406406
using (IEnumerator<CollectableScriptableObject> itemEnum = base.GetEnumerator())
407407
{

0 commit comments

Comments
 (0)