unity-atoms/Assets/UnityAtoms/Variables/GameObjectVariable.cs
2018-11-13 19:48:17 +01:00

13 lines
410 B
C#

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