Esempio n. 1
0
        public void SetByCharacterId(int characterId)
        {
            var image = SpriteHelper.GetCharacterIcon(characterId);

            if (image is null)
            {
                throw new FailedToLoadResourceException <Sprite>(characterId.ToString());
            }

            SetIcon(image);
        }