Beispiel #1
0
        public Sprite LoadSprite()
        {
            Sprite[] atlas = Resources.LoadAll <Sprite>($"Pieces/{edition}");
            string   name  = "" + color.GetLetter() + type.GetLetter();

            return(atlas.Single(s => s.name == name));
        }