using System;
using System.Collections;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Playables;

namespace CustomTimeline
{
    [Serializable]
    public class SlowMotionBehaviour : PlayableBehaviour
    {
        public enum SlowMotionAction
        {
            ContinuousSlowing,
            SlowDownAndJumpToMarker,
            Marker,
        }
        public SlowMotionAction action;

        public string markerToJumpTo, markerLabel;
        public bool successCondition;

        public float minTimelineSpeed = 0.1f;
        public float lerpSpeed = 1.0f;

        [HideInInspector]
        public bool clipExecuted = false; //the user shouldn't author this, the Mixer does

        internal SlowMotionCondition event_Method;
    }
}