private static void ExecuteAddonLoaded(AddonLoadData data) { foreach (var m in Modules) { try { m.OnAddonLoaded(data); } catch (Exception e) { Debug.LogError($"[Core] Fatal error in module {m.GetType().Name} during {nameof(ExecuteAddonLoaded)}"); Debug.LogException(e); } } }
public virtual void OnAddonLoaded(AddonLoadData data) { }