Exemplo n.º 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());
 }
Exemplo n.º 2
0
 internal static void AddToolSprite()
 {
     Assets.Sprites.Add(SweepByTypeStrings.TOOL_ICON_NAME, SpriteRegistry.
                        GetToolIcon());
 }