BS 0.2.0 Visual
This commit is contained in:
16
Convention/[Visual]/Operater/BaseMoveBehaviour.cs
Normal file
16
Convention/[Visual]/Operater/BaseMoveBehaviour.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
using UnityEngine.EventSystems;
|
||||
|
||||
namespace Convention.WindowsUI
|
||||
{
|
||||
public class BaseMoveBehaviour : MonoBehaviour, IMoveHandler, IBehaviourOperator
|
||||
{
|
||||
public UnityEvent<AxisEventData> OnMoveEvent;
|
||||
|
||||
public void OnMove(AxisEventData eventData)
|
||||
{
|
||||
OnMoveEvent?.Invoke(eventData);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user