unity-atoms/Assets/UnityAtoms/Variables/GameObjectVariable.cs
2018-10-30 20:05:06 +01:00

13 lines
409 B
C#

using UnityEngine;
namespace UnityAtoms
{
[CreateAssetMenu(menuName = "UnityAtoms/Variables/GameObject")]
public class GameObjectVariable : ScriptableObjectVariable<GameObject, GameObjectEvent, GameObjectGameObjectEvent>
{
protected override bool AreEqual(GameObject first, GameObject second)
{
return first.GetInstanceID() == second.GetInstanceID();
}
}
}