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

13 lines
343 B
C#

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