public Sprite LoadSprite() { Sprite[] atlas = Resources.LoadAll <Sprite>($"Pieces/{edition}"); string name = "" + color.GetLetter() + type.GetLetter(); return(atlas.Single(s => s.name == name)); }
public override string ToString() { return(piece.GetLetter() + " " + source + "-" + destination); }