예제 #1
0
 /// <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());
 }
예제 #2
0
        internal static void BeforeDbInit()
        {
            var icon = SpriteRegistry.GetToolIcon();

            Assets.Sprites.Add(icon.name, icon);
        }