Beispiel #1
0
    public void SetupTag(BibaTagType tagType)
    {
        var tagView = TagViewDict [tagType];

        TagText.text  = LocalizationService.GetText(tagView.TagName);
        TagText.color = tagView.TagColor;
    }
Beispiel #2
0
        public void SetupTag(BibaTagType TagType)
        {
            var tagInfo = TagInfos.Find(info => info.TagType == TagType);

            TagText.text   = LocalizationService.GetText(tagInfo.TagTextKey);
            TagText.color  = tagInfo.TagColor;
            TagIcon.sprite = tagInfo.TagIcon;
        }