docs.unity3d.com
    Show / Hide Table of Contents

    Class Warning

    Inheritance
    Object
    Warning
    Namespace: Unity.VisualScripting
    Syntax
    public sealed class Warning

    Constructors

    Warning(Exception)

    Declaration
    public Warning(Exception exception)
    Parameters
    Type Name Description
    Exception exception

    Warning(WarningLevel, String)

    Declaration
    public Warning(WarningLevel level, string message)
    Parameters
    Type Name Description
    WarningLevel level
    String message

    Properties

    exception

    Declaration
    public Exception exception { get; }
    Property Value
    Type Description
    Exception

    level

    Declaration
    public WarningLevel level { get; }
    Property Value
    Type Description
    WarningLevel

    message

    Declaration
    public string message { get; }
    Property Value
    Type Description
    String

    messageType

    Declaration
    public MessageType messageType { get; }
    Property Value
    Type Description
    MessageType

    Methods

    Caution(String)

    Declaration
    public static Warning Caution(string message)
    Parameters
    Type Name Description
    String message
    Returns
    Type Description
    Warning

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)

    Error(String)

    Declaration
    public static Warning Error(string message)
    Parameters
    Type Name Description
    String message
    Returns
    Type Description
    Warning

    Exception(Exception)

    Declaration
    public static Warning Exception(Exception exception)
    Parameters
    Type Name Description
    Exception exception
    Returns
    Type Description
    Warning

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()

    GetHeight(Single)

    Declaration
    public float GetHeight(float width)
    Parameters
    Type Name Description
    Single width
    Returns
    Type Description
    Single

    Info(String)

    Declaration
    public static Warning Info(string message)
    Parameters
    Type Name Description
    String message
    Returns
    Type Description
    Warning

    MostSevere(IEnumerable<WarningLevel>)

    Declaration
    public static WarningLevel MostSevere(IEnumerable<WarningLevel> warnings)
    Parameters
    Type Name Description
    IEnumerable<WarningLevel> warnings
    Returns
    Type Description
    WarningLevel

    MostSevere(WarningLevel, WarningLevel)

    Declaration
    public static WarningLevel MostSevere(WarningLevel a, WarningLevel b)
    Parameters
    Type Name Description
    WarningLevel a
    WarningLevel b
    Returns
    Type Description
    WarningLevel

    MostSevere(WarningLevel[])

    Declaration
    public static WarningLevel MostSevere(params WarningLevel[] warnings)
    Parameters
    Type Name Description
    WarningLevel[] warnings
    Returns
    Type Description
    WarningLevel

    MostSevereLevel(List<Warning>)

    Declaration
    public static WarningLevel MostSevereLevel(List<Warning> warnings)
    Parameters
    Type Name Description
    List<Warning> warnings
    Returns
    Type Description
    WarningLevel

    OnGUI(Rect)

    Declaration
    public void OnGUI(Rect position)
    Parameters
    Type Name Description
    Rect position

    Severe(String)

    Declaration
    public static Warning Severe(string message)
    Parameters
    Type Name Description
    String message
    Returns
    Type Description
    Warning

    Extension Methods

    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)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    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)
    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