using System.Collections; using System.Collections.Generic; using UnityEngine; public class AnswerButton : MonoBehaviour { [Header("for checking")] public IncidentSystem currentIncident; public int phaseIndex; public void OnClick() { currentIncident.NewPhrase(phaseIndex); } }