using UnityEngine.Playables;
namespace UnityEngine.Sequences.Timeline
{
// Note: The documentation XML are added only to remove warning when validating the package until this class
// can be made private. In the meantime, it is explicitly excluded from the documentation, see
// Documentation > filter.yml
///
///
///
class StoryboardMixerBehaviour : PlayableBehaviour
{
Canvas m_Canvas;
///
///
///
public Canvas canvas => m_Canvas;
///
public override void OnPlayableCreate(Playable playable)
{
var canvasGo = new GameObject("Storyboard");
canvasGo.hideFlags = HideFlags.HideAndDontSave;
m_Canvas = canvasGo.AddComponent