You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <summary>/// 이벤트 메소드들을 호출한다/// </summary>voidCallEventHandlerMethods(){// 공격 콜백if(attackEventHandler!=null){
attackEventHandler(damage);attackEventHandler=null;}}
Weapon에 부착된 Script
TriggerEnter를 이용
공격에 맞은 객체에 적용 되어야 할 메소드를 Player Event Handler에 추가한다