Class PlaceholderArt
- Namespace
- SurvivorsMaker.Editor
- Assembly
- SurvivorsMaker.Editor.dll
Simple generated sprites (PNG files imported as point-filtered sprites) so a new project has distinct shapes before real art exists. Replace them by assigning other sprites in the view catalog.
public static class PlaceholderArt
- Inheritance
-
PlaceholderArt
- Inherited Members
Fields
Size
public const int Size = 32
Field Value
Methods
Create(string, string, PlaceholderShape, Color, Color?)
Writes (or overwrites) "folder/name.png" and returns the imported sprite.
public static Sprite Create(string folder, string name, PlaceholderShape shape, Color color, Color? second = null)
Parameters
folderstringnamestringshapePlaceholderShapecolorColorsecondColor?
Returns
- Sprite