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() { Debug.Log("CLICK! " + phaseIndex); currentIncident.NewPhrase(phaseIndex); } }