コード例 #1
0
        private void DisplayRestrictionTextAndImage(IRestriction restriction, IHasSprite restrictionSprite)
        {
            Image.gameObject.SetActive(true);

            Text.text    = ShowLiveInfo ? restriction.GetRestrictionText() : restriction.GetRestrictionDescription();
            Image.sprite = restrictionSprite.GetSprite();
        }
コード例 #2
0
        private void DisplayRestrictionText(IRestriction restriction)
        {
            Image.gameObject.SetActive(false);

            Text.text = ShowLiveInfo ? restriction.GetRestrictionText() : restriction.GetRestrictionDescription();
        }