2019-06-09 16:47:14 +02:00
|
|
|
using System;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace UnityAtoms
|
|
|
|
{
|
|
|
|
[CreateAssetMenu(menuName = "Unity Atoms/Variables/{TYPE_NAME}", fileName = "{TYPE_NAME}Variable")]
|
|
|
|
<%IF EQUATABLE%>
|
2019-09-27 17:48:18 +02:00
|
|
|
public sealed class {TYPE_NAME}Variable : EquatableAtomVariable<{TYPE}, {TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Event> { }
|
2019-06-09 16:47:14 +02:00
|
|
|
<%ELSE%>
|
2019-09-27 17:48:18 +02:00
|
|
|
public sealed class {TYPE_NAME}Variable : AtomVariable<{TYPE}, {TYPE_NAME}Event, {TYPE_NAME}{TYPE_NAME}Event>
|
2019-06-09 16:47:14 +02:00
|
|
|
{
|
|
|
|
protected override bool AreEqual({TYPE} first, {TYPE} second)
|
|
|
|
{
|
|
|
|
throw new NotImplementedException();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
<%ENDIF%>
|
|
|
|
}
|