docs.unity.cn
    Show / Hide Table of Contents

    Class VFXPropertyBindingAttribute

    A ClassAttribute for use with ExposedProperty in order to specify the compatible type of a bound property.

    Inheritance
    Object
    Attribute
    PropertyAttribute
    VFXPropertyBindingAttribute
    Inherited Members
    PropertyAttribute.order
    Namespace: UnityEngine.VFX.Utility
    Syntax
    [AttributeUsage(AttributeTargets.Field)]
    public class VFXPropertyBindingAttribute : PropertyAttribute, _Attribute

    Constructors

    VFXPropertyBindingAttribute(String[])

    Specify the compatible type of a bound property.

    Declaration
    public VFXPropertyBindingAttribute(params string[] editorTypes)
    Parameters
    Type Name Description
    String[] editorTypes

    The array of compatible editor types, expressed as string including namespace. For instance, the value returned by typeof(float).FullName (System.Single).

    Fields

    EditorTypes

    The array of compatible editor types, expressed as string including namespace. For instance, the value returned by typeof(float).FullName (System.Single).

    Declaration
    public string[] EditorTypes
    Field Value
    Type Description
    String[]
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 18 October 2021