final addressables

This commit is contained in:
MyDragonBreath committed 2025-03-23 22:59:11 +11:00
1 parent 23c0397afe
commit 71b537dba9
9 files changed
+380 -28

No files matched your search

+4 -1
View File
@@ -9,6 +9,7 @@ using Reactor.Networking;
using Reactor.Networking.Attributes;
using System.IO;
using System.Reflection;
using UnityEngine;
namespace MiraAPI.Example;
@@ -28,7 +29,9 @@ public partial class ExamplePlugin : BasePlugin, IMiraPlugin
Harmony.PatchAll();
var path = Path.GetDirectoryName(Assembly.GetAssembly(typeof(ExamplePlugin))!.Location) + "\\touhats.catalog";
AddressablesLoader.RegisterToLoad(path);
AddressablesLoader.RegisterCatalog(path);
AddressablesLoader.RegisterHats("touhats");
AddressablesLoader.RegisterCatalog("https://raw.githubusercontent.com/MyDragonBreath/MyDragonBreath/refs/heads/main/DONTUSEGITHUBASACDN/catalog.json");
}
}