IMovementDirectionsProvider

namespace Handy2DTools.CharacterController.Platformer
{
    /// <summary>
    /// Any component that wants to provide others about directional
    /// updtade should implement this.
    /// </summary>
    public interface IPlatformerMovementDirectionsProvider
    {
        GameObject gameObject { get; }

        /// <summary>
        /// An event wich should be fired to update movements direction
        /// </summary>
        /// <value> A Vector2 representing the direction. This MUST be normalized </value>
        UnityEvent<Vector2> MovementDirectionsUpdate { get; }
    }
}