Show / Hide Table of Contents

    Enum MonoTargetType

    Determines the target type for non static MonoBehaviour commands.

    Namespace: QFSW.QC
    Assembly: QFSW.QC.dll
    Syntax
    public enum MonoTargetType

    Fields

    Name Description
    All

    Targets all instances found of the MonoBehaviour.

    AllInactive

    Targets all instances found of the MonoBehaviour. Includes inactive objects in its search.

    Argument

    The instance targeted will be specified as the first argument in the command invocation.

    ArgumentMulti

    The instances targeted will be specified by an array as the first argument in the command invocation.

    Registry

    Targets all instances registered in the QuantumRegistry. Instances can be added using QFSW.QC.QuantumRegistry.RegisterObject. The only supported target type for non MonoBehaviour commands

    Single

    Targets the first instance found of the MonoBehaviour.

    SingleInactive

    Targets the first instance found of the MonoBehaviour. Includes inactive objects in its search.

    Singleton

    Automatically creates an instance if it does not yet exist and adds it to the registry, where it will be used for all future function calls.

    Extension Methods

    ArraySingleExtensions.AsArraySingle<MonoTargetType>()
    CollectionExtensions.Yield<MonoTargetType>()
    Quantum Console by QFSW
    Back to top