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

13 lines
410 B
C#
Raw Normal View History

2018-10-30 20:05:06 +01:00
using UnityEngine;
namespace UnityAtoms
{
2018-11-13 19:48:17 +01:00
[CreateAssetMenu(menuName = "Unity Atoms/Variables/GameObject")]
2018-10-30 20:05:06 +01:00
public class GameObjectVariable : ScriptableObjectVariable<GameObject, GameObjectEvent, GameObjectGameObjectEvent>
{
protected override bool AreEqual(GameObject first, GameObject second)
{
return first.GetInstanceID() == second.GetInstanceID();
}
}
}