docs.unity3d.com
    目次を表示する/隠す

    Class Comparison

    Compares two inputs.

    Inheritance
    Object
    GraphElement<FlowGraph>
    Unit
    Comparison
    Inherited Members
    Unit.CreateDebugData()
    Unit.AfterAdd()
    Unit.BeforeRemove()
    Unit.Instantiate(GraphReference)
    Unit.Uninstantiate(GraphReference)
    Unit.CopyFrom(Unit)
    Unit.canDefine
    Unit.failedToDefine
    Unit.isDefined
    Unit.AfterDefine()
    Unit.BeforeUndefine()
    Unit.EnsureDefined()
    Unit.Define()
    Unit.RemoveUnconnectedInvalidPorts()
    Unit.controlInputs
    Unit.controlOutputs
    Unit.valueInputs
    Unit.valueOutputs
    Unit.invalidInputs
    Unit.invalidOutputs
    Unit.inputs
    Unit.outputs
    Unit.validInputs
    Unit.validOutputs
    Unit.ports
    Unit.invalidPorts
    Unit.validPorts
    Unit.onPortsChanged
    Unit.PortsChanged()
    Unit.defaultValues
    Unit.relations
    Unit.connections
    Unit.Disconnect()
    Unit.isControlRoot
    Unit.EnsureUniqueInput(String)
    Unit.EnsureUniqueOutput(String)
    Unit.ControlInput(String, Func<Flow, ControlOutput>)
    Unit.ControlInputCoroutine(String, Func<Flow, IEnumerator>)
    Unit.ControlInputCoroutine(String, Func<Flow, ControlOutput>, Func<Flow, IEnumerator>)
    Unit.ControlOutput(String)
    Unit.ValueInput(Type, String)
    Unit.ValueInput<T>(String)
    Unit.ValueInput<T>(String, T)
    Unit.ValueOutput(Type, String)
    Unit.ValueOutput(Type, String, Func<Flow, Object>)
    Unit.ValueOutput<T>(String)
    Unit.ValueOutput<T>(String, Func<Flow, T>)
    Unit.Requirement(ValueInput, ControlInput)
    Unit.Requirement(ValueInput, ValueOutput)
    Unit.Assignment(ControlInput, ValueOutput)
    Unit.Succession(ControlInput, ControlOutput)
    Unit.position
    Unit.definitionException
    Unit.GetAnalyticsIdentifier()
    GraphElement<FlowGraph>.guid
    GraphElement<FlowGraph>.BeforeAdd()
    GraphElement<FlowGraph>.AfterRemove()
    GraphElement<FlowGraph>.Dispose()
    GraphElement<FlowGraph>.InstantiateNest()
    GraphElement<FlowGraph>.UninstantiateNest()
    GraphElement<FlowGraph>.dependencyOrder
    GraphElement<FlowGraph>.HandleDependencies()
    GraphElement<FlowGraph>.graph
    GraphElement<FlowGraph>.IGraphElement.graph
    GraphElement<FlowGraph>.IGraphItem.graph
    GraphElement<FlowGraph>.deserializationDependencies
    GraphElement<FlowGraph>.GetAotStubs(HashSet<Object>)
    GraphElement<FlowGraph>.Prewarm()
    GraphElement<FlowGraph>.CopyFrom(GraphElement<FlowGraph>)
    GraphElement<FlowGraph>.ToString()
    Namespace: Unity.VisualScripting
    Syntax
    [UnitCategory("Logic")]
    [UnitTitle("Comparison")]
    [UnitShortTitle("Comparison")]
    [UnitOrder(99)]
    public sealed class Comparison : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable

    Properties

    a

    The first input.

    Declaration
    [DoNotSerialize]
    public ValueInput a { get; }
    Property Value
    Type Description
    ValueInput

    aEqualToB

    Whether A is equal to B.

    Declaration
    [DoNotSerialize]
    [PortLabel("A = B")]
    public ValueOutput aEqualToB { get; }
    Property Value
    Type Description
    ValueOutput

    aGreaterThanOrEqualToB

    Whether A is greater than or equal to B.

    Declaration
    [DoNotSerialize]
    [PortLabel("A ≥ B")]
    public ValueOutput aGreaterThanOrEqualToB { get; }
    Property Value
    Type Description
    ValueOutput

    aGreatherThanB

    Whether A is greater than B.

    Declaration
    [DoNotSerialize]
    [PortLabel("A > B")]
    public ValueOutput aGreatherThanB { get; }
    Property Value
    Type Description
    ValueOutput

    aLessThanB

    Whether A is less than B.

    Declaration
    [DoNotSerialize]
    [PortLabel("A < B")]
    public ValueOutput aLessThanB { get; }
    Property Value
    Type Description
    ValueOutput

    aLessThanOrEqualToB

    Whether A is less than or equal to B.

    Declaration
    [DoNotSerialize]
    [PortLabel("A ≤ B")]
    public ValueOutput aLessThanOrEqualToB { get; }
    Property Value
    Type Description
    ValueOutput

    aNotEqualToB

    Whether A is not equal to B.

    Declaration
    [DoNotSerialize]
    [PortLabel("A ≠ B")]
    public ValueOutput aNotEqualToB { get; }
    Property Value
    Type Description
    ValueOutput

    b

    The second input.

    Declaration
    [DoNotSerialize]
    public ValueInput b { get; }
    Property Value
    Type Description
    ValueInput

    numeric

    Whether the compared inputs are numbers.

    Declaration
    [Serialize]
    [Inspectable]
    public bool numeric { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    Definition()

    Declaration
    protected override void Definition()
    Overrides
    Unit.Definition()

    Extension Methods

    XUnit.CompatibleValueInput(IUnit, Type)
    XUnit.CompatibleValueOutput(IUnit, Type)
    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    XUnitOptionProvider.Option(IUnit)
    XUnitOptionProvider.Option<TOption>(IUnit)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    GraphsExceptionUtility.GetException(IGraphElementWithDebugData, GraphPointer)
    GraphsExceptionUtility.SetException(IGraphElementWithDebugData, GraphPointer, Exception)
    GraphsExceptionUtility.HandleException(IGraphElementWithDebugData, GraphPointer, Exception)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)