We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01273cd commit 2ee085bCopy full SHA for 2ee085b
1 file changed
Scripts/Runtime/Core/ScriptableObjectCollection.cs
@@ -382,8 +382,8 @@ protected virtual void ClearCachedValues()
382
public class ScriptableObjectCollection<ObjectType> : ScriptableObjectCollection, IList<ObjectType>
383
where ObjectType : ScriptableObjectCollectionItem
384
{
385
- protected static List<ObjectType> cachedValues;
386
- public static List<ObjectType> Values
+ private static List<ObjectType> cachedValues;
+ public static IReadOnlyList<ObjectType> Values
387
388
get
389
0 commit comments