mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 00:58:59 -05:00
13 lines
410 B
C#
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();
|
|
}
|
|
}
|
|
} |