using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using WebTools.Environments; namespace WebTools.Environments.Behaviours { public class PanelPopUpEnvironmentBehaviour : MonoBehaviour { [Header("EVENTS")] [SerializeField] private UnityEvent OnYes; [SerializeField] private UnityEvent OnNot; public void Yes() { OnYes.Invoke (); } public void Not() { OnNot.Invoke (); } } }