namespace Zinnia.Association { using UnityEngine; using Zinnia.Data.Collection.List; /// /// Holds s to (de)activate. /// public abstract class GameObjectsAssociation : MonoBehaviour { [Tooltip("The GameObjects to (de)activate.")] [SerializeField] private GameObjectObservableList gameObjects; /// /// The s to (de)activate. /// public GameObjectObservableList GameObjects { get { return gameObjects; } set { gameObjects = value; } } /// /// Whether the should be activated. /// /// Whether the association should be active. public abstract bool ShouldBeActive(); } }