protected override void Install()
{
if (Done) // Only one Assets installation throughout the application
{
return;
}
foreach (var action in AssetManager.instance.CreateLoadingSequence(Mod.GetPath()))
{
var localAction = action;
Loading.QueueAction(() =>
{
try
{
localAction();
}
catch (Exception ex)
{
Debug.Log("REx: Crashed-AssetsInstaller");
Debug.Log("REx: " + ex.Message);
Debug.Log("REx: " + ex.ToString());
}
});
}
Done = true;
}
}