< Readme
도망치는 이벤트의 구현부 EventFuncSO를 상속받는다
using UnityEngine; [CreateAssetMenu(fileName = "RunEvent", menuName = "Data/EventFuncData/RunEvent", order = 3)] public class RunEventSO : EventFuncSO { public int useMp; public override void OnUse() { GameManager.Instance.player.CurrentStat.Mp -= useMp; UIManager.Instance.CloseUI(); } }
There was an error while loading. Please reload this page.