Пример #1
0
 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);
         }
     }
 }
Пример #2
0
 public virtual void OnAddonLoaded(AddonLoadData data)
 {
 }