/// <summary> /// Applied after OnPrefabInit runs. /// </summary> /// <param name="___icons">The icon list where the icon can be added.</param> internal static void Postfix(List <Sprite> ___icons) { ___icons?.Add(SpriteRegistry.GetToolIcon()); }
internal static void BeforeDbInit() { var icon = SpriteRegistry.GetToolIcon(); Assets.Sprites.Add(icon.name, icon); }