コード例 #1
0
        public void Show(Model model)
        {
            canvasGroup.alpha          = 1f;
            canvasGroup.blocksRaycasts = true;
            SharedModel   = model;
            _IsAlreadyOut = false;

            worldStageId.text = $"{SharedModel.WorldName} {StageInformation.GetStageIdString(SharedModel.StageID)}";
            actionPoint.SetActionPoint(model.ActionPoint);
            actionPoint.SetEventTriggerEnabled(true);

            foreach (var reward in rewardsArea.rewards)
            {
                reward.gameObject.SetActive(false);
            }

            base.Show();
            closeButton.gameObject.SetActive(model.StageID >= 3 || model.LastClearedStageId >= 3);
            UpdateView();
        }