PO/Assets/Scripts/IncidentSystem/AnswerButton.cs

15 lines
310 B
C#

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);
}
}