16 lines
353 B
C#
16 lines
353 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()
|
||
|
{
|
||
|
Debug.Log("CLICK! " + phaseIndex);
|
||
|
currentIncident.NewPhrase(phaseIndex);
|
||
|
}
|
||
|
}
|