docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CommandQueue

    Queue wrapper that executes commands in sequence.

    Inheritance
    object
    CommandQueue
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: AutoGroupGenerator
    Assembly: Unity.AutoGroupGenerator.Editor.dll
    Syntax
    public class CommandQueue

    Constructors

    Name Description
    CommandQueue()

    Initializes an empty command queue.

    CommandQueue(Action, string)

    Initializes a queue with a single command.

    Properties

    Name Description
    RemainingCommandCount

    Gets the number of commands remaining in the queue.

    Title

    Gets or sets a title describing the queue.

    Methods

    Name Description
    AddCommand(Command)

    Adds a preconstructed command to the queue.

    AddCommand(Action, string)

    Adds a command to the queue.

    ClearQueue()

    Removes all queued commands.

    ExecuteNextCommand()

    Executes the next command in the queue.

    PostExecute()

    Hook executed after command processing ends.

    PreExecute()

    Hook executed before command processing begins.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)