unity-atoms/Source/Variable/Vector2Variable.cs
2019-05-29 18:52:27 +02:00

14 lines
397 B
C#

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