namespace Tilia.Interactions.Interactables.Interactables.Event.Proxy
{
using System;
using UnityEngine.Events;
using Zinnia.Event.Proxy;
///
/// Emits a UnityEvent with an payload whenever the Receive method is called.
///
public class InteractableFacadeEventProxyEmitter : RestrictableSingleEventProxyEmitter
{
///
/// Defines the event with the specified state.
///
[Serializable]
public class UnityEvent : UnityEvent { }
///
protected override object GetTargetToCheck()
{
return Payload != null ? Payload.gameObject : null;
}
}
}