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

13 lines
382 B
C#

using UnityEngine;
namespace UnityAtoms
{
[CreateAssetMenu(menuName = "Unity Atoms/Variables/Color", fileName = "ColorVariable", order = 3)]
public class ColorVariable : ScriptableObjectVariable<Color, ColorEvent, ColorColorEvent>
{
protected override bool AreEqual(Color first, Color second)
{
return first.Equals(second);
}
}
}