We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a9af78 commit 608b368Copy full SHA for 608b368
Storage.cs
@@ -2,11 +2,7 @@
2
3
public static class Storage
4
{
5
- private static ScriptableObject[] _assets = null;
6
-
7
- [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
8
- private static void Load() =>
9
- _assets = Resources.LoadAll<ScriptableObject>("");
+ private static ScriptableObject[] _assets = Resources.LoadAll<ScriptableObject>("");
10
11
public static T Get<T>() where T : ScriptableObject
12
0 commit comments