Class InjectContextAttribute | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class InjectContextAttribute

    Inheritance
    System.Object
    InjectContextAttribute
    Namespace: UnityEditor.Build.Pipeline.Injector
    Syntax
    public class InjectContextAttribute : Attribute

    Constructors

    InjectContextAttribute(ContextUsage, Boolean)

    Declaration
    public InjectContextAttribute(ContextUsage usage = ContextUsage.InOut, bool optional = false)
    Parameters
    Type Name Description
    ContextUsage usage
    System.Boolean optional

    Properties

    Optional

    Declaration
    public bool Optional { get; set; }
    Property Value
    Type Description
    System.Boolean

    Usage

    Declaration
    public ContextUsage Usage { get; set; }
    Property Value
    Type Description
    ContextUsage
    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX