23 lines
648 B
C#
23 lines
648 B
C#
using DDD.RestaurantEvent;
|
|
using UnityEngine;
|
|
|
|
namespace DDD
|
|
{
|
|
public class RestaurantCharacterInteraction : MonoBehaviour, IInteractor, IEventHandler<RestaurantInteractionEvent>
|
|
{
|
|
private void Start()
|
|
{
|
|
EventBus.Register(this);
|
|
}
|
|
|
|
public void Invoke(RestaurantInteractionEvent evt)
|
|
{
|
|
// TODO : 이벤트결과를 보고 할 일이 있다면 여기서 뭔가 처리. 기본적으로 이벤트에서 이미 인터페이스로 인터랙션 처리됨
|
|
}
|
|
|
|
public GameObject GetInteractorGameObject()
|
|
{
|
|
return TODO_IMPLEMENT_ME;
|
|
}
|
|
}
|
|
} |