docs.unity3d.com
    显示 / 隐藏目录

    Class InspectableAttribute

    Inheritance
    Object
    Attribute
    InspectableAttribute
    Namespace: UnityEditor.ShaderGraph.Drawing
    Syntax
    [AttributeUsage(AttributeTargets.Property)]
    public class InspectableAttribute : Attribute, _Attribute

    Constructors

    InspectableAttribute(String, Object, String)

    Declaration
    public InspectableAttribute(string labelName, object defaultValue, string customStyleName = "")
    Parameters
    Type Name Description
    String labelName
    Object defaultValue
    String customStyleName

    Properties

    customStyleName

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

    defaultValue

    Declaration
    public object defaultValue { get; }
    Property Value
    Type Description
    Object

    labelName

    Declaration
    public string labelName { get; }
    Property Value
    Type Description
    String
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)