void Start() { m_model = Context.model; SetModel(m_model); m_model.OnShowedIcon += () => { m_icon.Show( // onNext () => { m_model.ShowNextIcon(); }, // onFinish () => { m_iconShowFinish = true; }); }; m_model.OnShowedName += () => { m_name.Show(() => { m_model.ShowNextName(); }); }; m_model.OnUpdated += () => { if (!m_icon.isShowed) { return; } if (m_model.isSelected) { m_icon.ShowArrow(); } else { m_icon.HideArrow(); } if (m_model.isSelected) { m_name.Select(); } }; // TODO : 演出あるならしかるべき場所に移動 m_listItemModel.Appear(); m_listItemModel.SkipAppearing(); m_model.ViewStarted(); if (m_button != null) { // ボタンの選択画像を設定 if (Context.IsLowerScreen) { m_button.targetGraphic = m_nameBG; } else { m_button.targetGraphic = m_unitIcon; } } }