/// <summary> /// スクロールビューにリアクションスキルのリストを表示します /// </summary> private void inputReactionSkillList() { detachReactionContents(); IBattleable attacker = waitingProgressSkills[0].Value.Key; AttackSkill attackedSkill = waitingProgressSkills[0].Value.Value; headerText.text = attacker.getName() + "の" + attackedSkill.getName() + "へのリアクションを決定"; backButton.gameObject.SetActive(false); contents.SetActive(false); foreach (ReactionSkill skill in player.getReactionSkills()) { GameObject node = Instantiate((GameObject)Resources.Load("Prefabs/ReactionSkillNode")); node.GetComponent <ReactionSkillNode>().setState(skill, this); node.transform.SetParent(reactoinContents.transform); } reactoinContents.SetActive(true); reactionInputed = true; deleteAlert(); reactionButton.enabled = false; }