Class CustomModifier | Asset Graph | 1.6.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class CustomModifier

    CustomModifier attribute is to declare the class is used as a IModifier.

    Inheritance
    Object
    Attribute
    CustomModifier
    Namespace: UnityEngine.AssetGraph
    Syntax
    [AttributeUsage(AttributeTargets.Class)]
    public class CustomModifier : Attribute, _Attribute

    Constructors

    CustomModifier(String, Type)

    CustomModifier declares the class is used as a IModifier.

    Declaration
    public CustomModifier(string name, Type modifyFor)
    Parameters
    Type Name Description
    String name

    Name of Modifier appears on GUI.

    Type modifyFor

    Type of asset Modifier modifies.

    Properties

    For

    Type of asset Modifier modifies.

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

    For.

    Name

    Name of Modifier appears on GUI.

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

    The name.

    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