/// <summary> /// 一括ランク設定 /// </summary> public void SetRank(Rank rank) { this.SetFrameSprite(CommonIconUtility.GetRarityFrameSprite(rank)); this.rankImage.enabled = this.rankBgImage.enabled = rank != Rank.None; if (rank != Rank.None) { this.SetRankSprite(CommonIconUtility.GetRaritySprite(rank)); this.SetRankBgSprite(CommonIconUtility.GetRarityBgSprite(rank)); } }