Documentation index for AI agents (llms.txt) A Markdown version of every page is available: request the page's source under /docs/, follow the "alternate" link in this page's head, or start from /llms.txt.
Visual Script logo Manual

Playable Director Resume#

Timeline / Playable Director / Playable Director Resume

Description#

Executes the Resume method on the Playable Director component

Code#

// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>

using System;
using UnityEngine;
using VisualScript.Icons;
using UnityEngine.Playables;

namespace VisualScript.Runtime
{
    [Title("Playable Director Resume")]
    [Category("Timeline/Playable Director/Resume")]
    [Description("Executes the Resume method on the Playable Director component")]

    [Image(typeof(IconDirector), ColorTheme.Type.Teal)]
    [Keywords("Timeline, Cutscene, Cinematic, Sequence")]

    [Serializable]
    public class GenInstructionPlayableDirector_Resume_0 : Instruction
    {
        [SerializeField] private GetGameObject m_PlayableDirector = new GetGameObject(
            new GenTypeGameObject_PlayableDirector()
        );

        protected override string GetTitle(GameObject source)
        {
            string method = TextUtils.ThemeAsKeyword("Resume");
            return $"{this.m_PlayableDirector} {method}";
        }

        protected override Awaitable Run(Args args)
        {
            PlayableDirector component = this.m_PlayableDirector.Get<PlayableDirector>(args);
            if (component == null) return Done;

            component.Resume();

            return Done;
        }
    }
}
Visual Script logoVisual Script © Catsoft Works 2026. All rights reserved.