Skip to content

Commit 608b368

Browse files
authored
Update Storage.cs
1 parent 3a9af78 commit 608b368

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Storage.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22

33
public static class Storage
44
{
5-
private static ScriptableObject[] _assets = null;
6-
7-
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
8-
private static void Load() =>
9-
_assets = Resources.LoadAll<ScriptableObject>("");
5+
private static ScriptableObject[] _assets = Resources.LoadAll<ScriptableObject>("");
106

117
public static T Get<T>() where T : ScriptableObject
128
{

0 commit comments

Comments
 (0)