mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-23 16:48:23 -05:00
13 lines
403 B
C#
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);
|
|
}
|
|
}
|
|
} |