コード例 #1
0
        public void Refresh(IFishStorage fishStorage)
        {
            var bestFish   = fishStorage.GetBestFish();
            var totalCount = fishStorage.TotalCount;

            bestFishText.text   = string.Format("{0}({1}cm)", bestFish.Name, bestFish.Length);
            totalCountText.text = string.Format("{0} 마리", totalCount);
        }
コード例 #2
0
ファイル: UI.cs プロジェクト: GoodMorningCody/UnityTips
 public void Refresh(IFishStorage fishing)
 {
     aquariumUI.Refresh(fishing);
 }