docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetParameter

    GetParameter(string, Type)

    Find a parameter in this configuration by name

    Declaration
    public Parameter GetParameter(string parameterName, Type parameterType)
    Parameters
    Type Name Description
    string parameterName

    The name of the parameter to lookup

    Type parameterType

    The type of parameter to lookup

    Returns
    Type Description
    Parameter

    The parameter if found, null otherwise

    Exceptions
    Type Condition
    ParameterConfigurationException

    GetParameter<T>(string)

    Find a parameter in this configuration by name and type

    Declaration
    public T GetParameter<T>(string parameterName) where T : Parameter
    Parameters
    Type Name Description
    string parameterName
    Returns
    Type Description
    T

    The parameter if found, null otherwise

    Type Parameters
    Name Description
    T

    The type of parameter to look for

    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)