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