using UnityEngine;
using UnityEngine.Playables;
namespace UnityEngine.Timeline
{
///
/// Implement this interface on a TrackAsset derived class to support layers
///
public interface ILayerable
{
///
/// Creates a mixer that blends track mixers.
///
/// The graph where the mixer playable will be added.
/// The GameObject that requested the graph.
/// The number of inputs on the mixer. There should be an input for each playable from each clip.
/// Returns a playable that is used as a mixer. If this method returns Playable.Null, it indicates that a layer mixer is not needed. In this case, a single track mixer blends all playables generated from all layers.
Playable CreateLayerMixer(PlayableGraph graph, GameObject go, int inputCount);
}
}