namespace UnityEngine.XR.Content.Walkthrough
{
    /// 
    /// Base class for all triggers used by walkthrough steps.
    /// 
    abstract public class WalkthroughTrigger : MonoBehaviour
    {
        /// 
        /// Attempts to return a trigger to a state where it can be activated again
        /// 
        /// False if this trigger cannot be reset or would automatically fire
        public abstract bool ResetTrigger();
        /// 
        /// Checks if this trigger's pass/fail condition is active
        /// 
        /// True if this trigger is no longer blocking the current walkthrough step
        public abstract bool Check();
    }
}