Skip to content

Commit c1aa62a

Browse files
committed
fix typo
1 parent 01c4b5b commit c1aa62a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Assets/ThirdParty/CSharpSynth/Source/StreamingAssetResouce.cs renamed to Assets/ThirdParty/CSharpSynth/Source/StreamingAssetResource.cs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,19 @@
55
namespace UnityMidi
66
{
77
[System.Serializable]
8-
public class StreamingAssetResouce : IResource
8+
public class StreamingAssetResource : IResource
99
{
1010
[SerializeField] public string streamingAssetPath;
1111

12+
public StreamingAssetResource()
13+
{
14+
}
15+
16+
public StreamingAssetResource(string path)
17+
{
18+
this.streamingAssetPath = path;
19+
}
20+
1221
public bool ReadAllowed()
1322
{
1423
return true;
@@ -44,4 +53,4 @@ public void DeleteResource()
4453
throw new System.NotImplementedException();
4554
}
4655
}
47-
}
56+
}

0 commit comments

Comments
 (0)