mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-23 16:48:23 -05:00
7763f81ede
* Unified all line endings in project to align with .editorconfig; all end-of-line characters have been set to LF and new-lines placed at the end of every file if not present.
14 lines
437 B
C#
14 lines
437 B
C#
using UnityEngine;
|
|
|
|
namespace UnityAtoms
|
|
{
|
|
[CreateAssetMenu(menuName = "Unity Atoms/Vector2/Variable", fileName = "Vector2Variable", order = CreateAssetMenuUtils.Order.VARIABLE)]
|
|
public class Vector2Variable : ScriptableObjectVariable<Vector2, Vector2Event, Vector2Vector2Event>
|
|
{
|
|
protected override bool AreEqual(Vector2 first, Vector2 second)
|
|
{
|
|
return first.Equals(second);
|
|
}
|
|
}
|
|
}
|