diff --git a/Scripts/UdonLab.UrlLoader.asmdef b/Scripts/Sonic853.UdonLab.UrlLoader.asmdef similarity index 82% rename from Scripts/UdonLab.UrlLoader.asmdef rename to Scripts/Sonic853.UdonLab.UrlLoader.asmdef index d866e90..1337035 100644 --- a/Scripts/UdonLab.UrlLoader.asmdef +++ b/Scripts/Sonic853.UdonLab.UrlLoader.asmdef @@ -1,10 +1,10 @@ { - "name": "UdonLab.UrlLoader", + "name": "Sonic853.UdonLab.UrlLoader", "rootNamespace": "", "references": [ "VRC.Udon", "UdonSharp.Runtime", - "UdonLab.ArrayPlus" + "Sonic853.UdonLab.ArrayPlus" ], "includePlatforms": [], "excludePlatforms": [], diff --git a/Scripts/UdonLab.UrlLoader.asmdef.meta b/Scripts/Sonic853.UdonLab.UrlLoader.asmdef.meta similarity index 100% rename from Scripts/UdonLab.UrlLoader.asmdef.meta rename to Scripts/Sonic853.UdonLab.UrlLoader.asmdef.meta diff --git a/Scripts/UdonLab.UrlLoader.asset b/Scripts/Sonic853.UdonLab.UrlLoader.asset similarity index 92% rename from Scripts/UdonLab.UrlLoader.asset rename to Scripts/Sonic853.UdonLab.UrlLoader.asset index 3f37571..a9e6961 100644 --- a/Scripts/UdonLab.UrlLoader.asset +++ b/Scripts/Sonic853.UdonLab.UrlLoader.asset @@ -10,6 +10,6 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 5136146375e9a0a498a72a0091b40cc1, type: 3} - m_Name: UdonLab.UrlLoader + m_Name: Sonic853.UdonLab.UrlLoader m_EditorClassIdentifier: sourceAssembly: {fileID: 5897886265953266890, guid: f25701cf8a1a2ac4993d5ef9b7520958, type: 3} diff --git a/Scripts/UdonLab.UrlLoader.asset.meta b/Scripts/Sonic853.UdonLab.UrlLoader.asset.meta similarity index 100% rename from Scripts/UdonLab.UrlLoader.asset.meta rename to Scripts/Sonic853.UdonLab.UrlLoader.asset.meta diff --git a/Scripts/UrlSubmitter.asset b/Scripts/UrlSubmitter.asset index 7e9a7ed..bdbc0ed 100644 --- a/Scripts/UrlSubmitter.asset +++ b/Scripts/UrlSubmitter.asset @@ -61,7 +61,7 @@ MonoBehaviour: Data: 3|System.RuntimeType, mscorlib - Name: Entry: 1 - Data: UdonLab.UrlLoader.UrlsLoaderCore, UdonLab.UrlLoader + Data: UdonLab.UrlLoader.UrlsLoaderCore, Sonic853.UdonLab.UrlLoader - Name: Entry: 8 Data: diff --git a/Scripts/UrlsImageLoader.cs b/Scripts/UrlsImageLoader.cs index 9444fa6..f42f183 100644 --- a/Scripts/UrlsImageLoader.cs +++ b/Scripts/UrlsImageLoader.cs @@ -77,7 +77,7 @@ public override void OnImageLoadSuccess(IVRCImageDownload result) } else { - cacheContents[urli] = result.Result; + cacheContents.SetValue(result.Result, urli); } } // contents.SetValue(result.Result, 0); diff --git a/Scripts/UrlsSubmitter.asset b/Scripts/UrlsSubmitter.asset index 684f257..ea96706 100644 --- a/Scripts/UrlsSubmitter.asset +++ b/Scripts/UrlsSubmitter.asset @@ -12,7 +12,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3} m_Name: UrlsSubmitter m_EditorClassIdentifier: - serializedUdonProgramAsset: {fileID: 11400000, guid: 97812570cb66f5045b4f0df801696022, type: 2} + serializedUdonProgramAsset: {fileID: 11400000, guid: e98a62f291162254fb4a361f61efabef, type: 2} udonAssembly: assemblyError: sourceCsScript: {fileID: 11500000, guid: 8e4f81bfe86c7294989c1c23ea1dcc4c, type: 3} @@ -61,7 +61,7 @@ MonoBehaviour: Data: 3|System.RuntimeType, mscorlib - Name: Entry: 1 - Data: UdonLab.UrlLoader.UrlsLoaderCore, UdonLab.UrlLoader + Data: UdonLab.UrlLoader.UrlsLoaderCore, Sonic853.UdonLab.UrlLoader - Name: Entry: 8 Data: diff --git a/package.json b/package.json index 19bc45e..e13b276 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.sonic853.udonlab.urlloader", - "version": "1.0.2", + "version": "2.0.0", "displayName": "Udon Lab - Udon Url Loader", "description": "The Udon Lab", "unity": "2022.3", @@ -16,6 +16,6 @@ "url": "https://github.com/Sonic853" }, "vpmDependencies": { - "com.sonic853.udonlab.arrayplus": "1.x.x" + "com.sonic853.udonlab.arrayplus": "2.x.x" } } \ No newline at end of file