2020-03-02 02:26:06 +01:00
using System ;
using UnityEngine ;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Variable of type `GameObject`. Inherits from `AtomVariable<GameObject, GameObjectPair, GameObjectEvent, GameObjectPairEvent, GameObjectGameObjectFunction>`.
/// </summary>
[EditorIcon("atom-icon-lush")]
[CreateAssetMenu(menuName = "Unity Atoms/Variables/GameObject", fileName = "GameObjectVariable")]
public sealed class GameObjectVariable : AtomVariable < GameObject , GameObjectPair , GameObjectEvent , GameObjectPairEvent , GameObjectGameObjectFunction >
{
protected override bool ValueEquals ( GameObject other )
{
2020-12-30 00:01:42 +01:00
return _value = = other ;
2020-03-02 02:26:06 +01:00
}
}
}