docs.unity3d.com
    Show / Hide Table of Contents

    Class CommandScheduler

    Class CommandScheduler.

    Inheritance
    Object
    CommandScheduler
    Namespace: UnityEngine.Industrial.Configuring.Commands
    Syntax
    [Obsolete]
    public class CommandScheduler

    Properties

    IsRunning

    Gets a value indicating whether this instance is running.

    Declaration
    public bool IsRunning { get; }
    Property Value
    Type Description
    Boolean

    true if this instance is running; otherwise, false.

    Methods

    ScheduleCommands(MonoBehaviour, CommandContext)

    Schedule a set of actions to run If the scheduler is currently running it cancels all running commands and stops the coroutine

    Declaration
    public IEnumerator ScheduleCommands(MonoBehaviour target, CommandContext context)
    Parameters
    Type Name Description
    MonoBehaviour target

    Monobehaviour the coroutine is carried out to

    CommandContext context

    Command context to pass to commands

    Returns
    Type Description
    IEnumerator

    IEnumerator.

    Stop()

    Stops coroutine

    Declaration
    public void Stop()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023