event 와 delegate 를 이용. Canvas 에서 UI 를 아래처럼 만든다. YesnoBox, MsgPanel => Panel YesButton, NoButton => Button MsgText, Text => Text 프리팹으로 집어 넣는다. 필요할 때마다 런타임에 로드하기 위해 Assets/Resources/Prefabs/Canvas/YesnoBox 에 집어 넣었다. YesnoBox.cs using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class YesnoBox : MonoBehaviour { [SerializeField] ..