﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;

namespace CustomTimeline
{
    [ExecuteInEditMode]
    public class SlowMotionCondition : MonoBehaviour
    {
        public bool skip = false;

        public virtual bool GetEventCondition()
        {
            throw new System.Exception("Not overwritten");
        }

        public bool CheckCheckEventCondition()
        {
            if (skip)
                return true;
            return GetEventCondition();
        }

    }
}