unity-atoms/Assets/UnityAtoms/Variables/Vector2Variable.cs

13 lines
403 B
C#

using UnityEngine;
namespace UnityAtoms
{
[CreateAssetMenu(menuName = "Unity Atoms/Variables/Vector2", fileName = "Vector2Variable", order = 4)]
public class Vector2Variable : ScriptableObjectVariable<Vector2, Vector2Event, Vector2Vector2Event>
{
protected override bool AreEqual(Vector2 first, Vector2 second)
{
return first.Equals(second);
}
}
}