docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ConditionAttribute

    The ConditionAttribute contains metadata for conditions used in Muse Behavior graphs.

    Inheritance
    object
    Attribute
    ConditionAttribute
    Inherited Members
    Attribute.Equals(object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.Match(object)
    Attribute.TypeId
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Muse.Behavior
    Assembly: Unity.Muse.Behavior.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class)]
    public class ConditionAttribute : Attribute

    Constructors

    ConditionAttribute(string, string, string, string, string, string)

    Initializes an instance of the ConditionAttribute class with the provided metadata.

    Declaration
    public ConditionAttribute(string name = "", string description = "", string story = "", string category = "", string id = "", string filePath = "")
    Parameters
    Type Name Description
    string name

    The name of the condition.

    string description

    The description of the condition's function.

    string story

    The story message that describes the condition that is being evaluated.

    string category

    The category path this condition belongs to and will be shown on the search window.

    string id

    A unique ID used to identify this condition.

    string filePath

    The path to the script file containing this attribute.

    Properties

    Category

    The category path this condition belongs to and will be shown on the search window.

    Declaration
    public string Category { get; }
    Property Value
    Type Description
    string

    Description

    The description of the condition's function.

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

    FilePath

    The path to the script file containing this attribute.

    Declaration
    public string FilePath { get; }
    Property Value
    Type Description
    string

    GUID

    A unique ID used to identify this condition.

    Declaration
    public SerializableGUID GUID { get; }
    Property Value
    Type Description
    SerializableGUID

    Name

    The name of the condition.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    Story

    The condition message that describes the condition that has occured.

    Declaration
    public string Story { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2024 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)