Class UnitDescriptor<TUnit> | Bolt Visual Scripting | 1.4.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class UnitDescriptor<TUnit>

    Inheritance
    Object
    Descriptor<TUnit>
    UnitDescriptor<TUnit>
    AssignDescriptor
    BinaryOperatorUnitDescriptor
    BoltMemberUnitDescriptor<TMemberUnit>
    CreateStructDescriptor
    DelegateUnitDescriptor
    EventHandlerUnitDescriptor<TEvent>
    ExposeDescriptor
    FlowFunctionEntryDescriptor
    FlowFunctionExitDescriptor
    FlowGraphVariableUnitDescriptor<TVariableUnit>
    FlowMacroInputDescriptor
    FlowMacroOutputDescriptor
    ForEachDescriptor
    InvokeCustomEventDescriptor
    IsDescriptor
    LegacyFlowGraphInputDescriptor
    LegacyFlowGraphOutputDescriptor
    LiteralDescriptor
    MemberUnitDescriptor<TMemberUnit>
    MultiInputUnitAlphabeticDescriptor
    MultiInputUnitNumericDescriptor
    NesterUnitDescriptor<TNesterUnit>
    SelectOnEnumDescriptor
    SelectOnFlowDescriptor
    SelectUnitDescriptor<T>
    SequenceDescriptor
    SwitchOnEnumDescriptor
    SwitchUnitDescriptor<T>
    TypedComparisonDescriptor
    UnaryOperatorUnitDescriptor
    UnifiedVariableUnitDescriptor<TVariableUnit>
    WaitForFlowDescriptor
    Inherited Members
    Descriptor<TUnit>.target
    Descriptor<TUnit>.IDescriptor.target
    Descriptor<TUnit>.Dispose()
    Descriptor<TUnit>.SetDirty()
    Descriptor<TUnit>.Validate()
    Descriptor<TUnit>.Watch(INotifyPropertyChanged)
    Descriptor<TUnit>.Unwatch(INotifyPropertyChanged)
    Descriptor<TUnit>.StopWatching()
    Descriptor<TUnit>.Property<T>(Func<T>, Boolean, Boolean)
    Descriptor<TUnit>.Property<T>(Func<IEnumerable<T>>, Boolean, Boolean)
    Descriptor<TUnit>.RegisterProperty(IReactive)
    Descriptor<TUnit>.propertyChanged
    Descriptor<TUnit>._title
    Descriptor<TUnit>._summary
    Descriptor<TUnit>._icon
    Descriptor<TUnit>._warnings
    Descriptor<TUnit>.title
    Descriptor<TUnit>.summary
    Descriptor<TUnit>.icon
    Descriptor<TUnit>.warnings
    Namespace: Ludiq.Bolt
    Syntax
    public class UnitDescriptor<TUnit> : Descriptor<TUnit>, IDisposable, IUnitDescriptor, IDescriptor where TUnit : class, IUnit
    Type Parameters
    Name Description
    TUnit

    Constructors

    UnitDescriptor(TUnit)

    Declaration
    public UnitDescriptor(TUnit target)
    Parameters
    Type Name Description
    TUnit target

    Fields

    _isEntered

    Declaration
    protected Reactive<bool> _isEntered
    Field Value
    Type Description
    Reactive<Boolean>

    _shortTitle

    Declaration
    protected Reactive<string> _shortTitle
    Field Value
    Type Description
    Reactive<String>

    _showBigIcon

    Declaration
    protected Reactive<bool> _showBigIcon
    Field Value
    Type Description
    Reactive<Boolean>

    _showTitle

    Declaration
    protected Reactive<bool> _showTitle
    Field Value
    Type Description
    Reactive<Boolean>

    _subtitle

    Declaration
    protected Reactive<string> _subtitle
    Field Value
    Type Description
    Reactive<String>

    _surtitle

    Declaration
    protected Reactive<string> _surtitle
    Field Value
    Type Description
    Reactive<String>

    Properties

    isEntered

    Declaration
    public bool isEntered { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IUnitDescriptor.isEntered

    reflectedDescription

    Declaration
    protected ReflectedUnitDescription reflectedDescription { get; }
    Property Value
    Type Description
    ReflectedUnitDescription

    shortTitle

    Declaration
    public string shortTitle { get; }
    Property Value
    Type Description
    String
    Implements
    IUnitDescriptor.shortTitle

    showBigIcon

    Declaration
    public bool showBigIcon { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IUnitDescriptor.showBigIcon

    showTitle

    Declaration
    public bool showTitle { get; }
    Property Value
    Type Description
    Boolean
    Implements
    IUnitDescriptor.showTitle

    subtitle

    Declaration
    public string subtitle { get; }
    Property Value
    Type Description
    String
    Implements
    IUnitDescriptor.subtitle

    surtitle

    Declaration
    public string surtitle { get; }
    Property Value
    Type Description
    String
    Implements
    IUnitDescriptor.surtitle

    unit

    Declaration
    public TUnit unit { get; }
    Property Value
    Type Description
    TUnit

    unitType

    Declaration
    protected Type unitType { get; }
    Property Value
    Type Description
    Type

    Methods

    DefaultIcon()

    Declaration
    protected virtual EditorTexture DefaultIcon()
    Returns
    Type Description
    EditorTexture

    DefaultShortTitle()

    Declaration
    protected virtual string DefaultShortTitle()
    Returns
    Type Description
    String

    DefaultSubtitle()

    Declaration
    protected virtual string DefaultSubtitle()
    Returns
    Type Description
    String

    DefaultSummary()

    Declaration
    protected virtual string DefaultSummary()
    Returns
    Type Description
    String

    DefaultSurtitle()

    Declaration
    protected virtual string DefaultSurtitle()
    Returns
    Type Description
    String

    DefaultTitle()

    Declaration
    protected virtual string DefaultTitle()
    Returns
    Type Description
    String

    DefinedIcon()

    Declaration
    protected virtual EditorTexture DefinedIcon()
    Returns
    Type Description
    EditorTexture

    DefinedShortTitle()

    Declaration
    protected virtual string DefinedShortTitle()
    Returns
    Type Description
    String

    DefinedShowBigIcon()

    Declaration
    protected virtual bool DefinedShowBigIcon()
    Returns
    Type Description
    Boolean

    DefinedShowTitle()

    Declaration
    protected virtual bool DefinedShowTitle()
    Returns
    Type Description
    Boolean

    DefinedSubtitle()

    Declaration
    protected virtual string DefinedSubtitle()
    Returns
    Type Description
    String

    DefinedSummary()

    Declaration
    protected virtual string DefinedSummary()
    Returns
    Type Description
    String

    DefinedSurtitle()

    Declaration
    protected virtual string DefinedSurtitle()
    Returns
    Type Description
    String

    DefinedTitle()

    Declaration
    protected virtual string DefinedTitle()
    Returns
    Type Description
    String

    ErrorIcon(Exception)

    Declaration
    protected virtual EditorTexture ErrorIcon(Exception exception)
    Parameters
    Type Name Description
    Exception exception
    Returns
    Type Description
    EditorTexture

    ErrorShortTitle(Exception)

    Declaration
    protected virtual string ErrorShortTitle(Exception exception)
    Parameters
    Type Name Description
    Exception exception
    Returns
    Type Description
    String

    ErrorSubtitle(Exception)

    Declaration
    protected virtual string ErrorSubtitle(Exception exception)
    Parameters
    Type Name Description
    Exception exception
    Returns
    Type Description
    String

    ErrorSummary(Exception)

    Declaration
    protected virtual string ErrorSummary(Exception exception)
    Parameters
    Type Name Description
    Exception exception
    Returns
    Type Description
    String

    ErrorSurtitle(Exception)

    Declaration
    protected virtual string ErrorSurtitle(Exception exception)
    Parameters
    Type Name Description
    Exception exception
    Returns
    Type Description
    String

    ErrorTitle(Exception)

    Declaration
    protected virtual string ErrorTitle(Exception exception)
    Parameters
    Type Name Description
    Exception exception
    Returns
    Type Description
    String

    Icon()

    Declaration
    protected override sealed EditorTexture Icon()
    Returns
    Type Description
    EditorTexture
    Overrides
    Ludiq.Descriptor<TUnit>.Icon()

    IsEntered()

    Declaration
    protected bool IsEntered()
    Returns
    Type Description
    Boolean

    OnChange(Object, PropertyChangedEventArgs)

    Declaration
    protected override void OnChange(object sender, PropertyChangedEventArgs e)
    Parameters
    Type Name Description
    Object sender
    PropertyChangedEventArgs e
    Overrides
    Ludiq.Descriptor<TUnit>.OnChange(System.Object, PropertyChangedEventArgs)

    Port(IUnitPort)

    Declaration
    protected virtual IUnitPortDescriptor Port(IUnitPort port)
    Parameters
    Type Name Description
    IUnitPort port
    Returns
    Type Description
    IUnitPortDescriptor

    RegisterProperties()

    Declaration
    protected override void RegisterProperties()
    Overrides
    Ludiq.Descriptor<TUnit>.RegisterProperties()

    ShortTitle()

    Declaration
    protected string ShortTitle()
    Returns
    Type Description
    String

    ShowBigIcon()

    Declaration
    protected virtual bool ShowBigIcon()
    Returns
    Type Description
    Boolean

    ShowTitle()

    Declaration
    protected virtual bool ShowTitle()
    Returns
    Type Description
    Boolean

    StartWatching()

    Declaration
    protected override void StartWatching()
    Overrides
    Ludiq.Descriptor<TUnit>.StartWatching()

    Subtitle()

    Declaration
    protected string Subtitle()
    Returns
    Type Description
    String

    Summary()

    Declaration
    protected override sealed string Summary()
    Returns
    Type Description
    String
    Overrides
    Ludiq.Descriptor<TUnit>.Summary()

    Surtitle()

    Declaration
    protected string Surtitle()
    Returns
    Type Description
    String

    Title()

    Declaration
    protected override sealed string Title()
    Returns
    Type Description
    String
    Overrides
    Ludiq.Descriptor<TUnit>.Title()

    Warnings()

    Declaration
    protected override IEnumerable<Warning> Warnings()
    Returns
    Type Description
    IEnumerable<Warning>
    Overrides
    Ludiq.Descriptor<TUnit>.Warnings()

    Explicit Interface Implementations

    IUnitDescriptor.Port(IUnitPort)

    Declaration
    IUnitPortDescriptor IUnitDescriptor.Port(IUnitPort port)
    Parameters
    Type Name Description
    IUnitPort port
    Returns
    Type Description
    IUnitPortDescriptor
    Implements
    IUnitDescriptor.Port(IUnitPort)

    IUnitDescriptor.unit

    Declaration
    IUnit IUnitDescriptor.unit { get; }
    Returns
    Type Description
    IUnit
    Implements
    IUnitDescriptor.unit

    Extension Methods

    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptor.ToGUIContent(IDescriptor, Int32)
    LiteralUtility.ToLiteralString(Object)
    LiteralUtility.ToLiteralStringOrDefault(Object)
    LiteralUtility.TryToLiteralString(Object, out String)
    XFilterProvider.Filter(Object)
    XFilterProvider.Filter<TFilter>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone(Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneViaSerializationPolicy(Object)
    Cloning.CloneViaSerializationPolicy(Object, out Dictionary<Object, Object>)
    Cloning.CloneViaSerializationPolicy<T>(T)
    Cloning.CloneViaSerializationPolicy<T>(T, out Dictionary<Object, Object>)
    Cloning.CloneInto(Object, ref Object, ICloner, Boolean)
    Cloning.CloneInto(Object, ref Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneInto<T>(T, ref Object, ICloner, Boolean)
    Cloning.CloneInto<T>(T, ref Object, ICloner, Boolean, out Dictionary<Object, Object>)
    Cloning.CloneIntoViaSerializationPolicy(Object, ref Object)
    Cloning.CloneIntoViaSerializationPolicy(Object, ref Object, out Dictionary<Object, Object>)
    Cloning.CloneIntoViaSerializationPolicy<T>(T, ref Object)
    Cloning.CloneIntoViaSerializationPolicy<T>(T, ref Object, out Dictionary<Object, Object>)
    Cloning.CloneValueType(Object)
    ConversionUtility.ConvertTo<TSource>(TSource, Type)
    ConversionUtility.IsLateConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsLateConvertibleTo<T>(Object, Boolean)
    ConversionUtility.LateConvertTo(Object, Type)
    ConversionUtility.LateConvertTo<T>(Object)
    ConversionUtility.TryLateConvertTo(Object, Type, out Object, Boolean)
    ConversionUtility.TryLateConvertTo<T>(Object, out T, Boolean)
    TypeUtility.ToShortString(Object, Int32)
    TypeUtility.CastTo<T>(Object)
    Serialization.FullSerialize(Object, Boolean)
    Serialization.OdinSerialize<T>(T, DataFormat)
    Serialization.OdinSerialize<T>(T, ref OdinSerializer.SerializationData, DataFormat)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.UnityNullCoalesce(Object, Object)
    UnityObjectUtility.ToSafeString(Object)
    BoltGenerationUtility.GenerateLiteral(Object, IGeneration)
    XGeneratorProvider.Generator(Object, IGeneration)
    XGeneratorProvider.Generator<TGenerator>(Object, IGeneration)
    XGeneratorProvider.HasGenerator(Object, IGeneration)
    XGeneratorProvider.HasGenerator<TGenerator>(Object, IGeneration)
    XGeneratorProvider.TryGetGenerator(Object, out IGenerator, IGeneration)
    XGeneratorProvider.TryGetGenerator<TGenerator>(Object, IGeneration, out TGenerator)
    HybridConversionUtility.ConvertTo(Object, HybridType, HybridType)
    HybridConversionUtility.IsLateConvertibleTo(Object, HybridType, Boolean)
    HybridConversionUtility.LateConvertTo(Object, HybridType)
    HybridConversionUtility.TryLateConvertTo(Object, HybridType, out Object, Boolean)
    HybridTypeUtility.GetHybridType(Object)
    IsUtility.Is<TO, TC>(TO, out TC)
    PrivateReflectionUsingDynamicExtensions.AsDynamic(Object)
    JsonWriter.ToJson(Object)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX