Interface IProperty<TContainer, TValue> | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Interface IProperty<TContainer, TValue>

    Inherited Members
    IProperty.GetName()
    IProperty.IsReadOnly
    IProperty.IsContainer
    IProperty.Attributes
    Namespace: Unity.Properties
    Syntax
    public interface IProperty<TContainer, TValue> : IProperty
    Type Parameters
    Name Description
    TContainer
    TValue

    Methods

    GetValue(ref TContainer)

    Gets the property value for the given container.

    Declaration
    TValue GetValue(ref TContainer container)
    Parameters
    Type Name Description
    TContainer container
    Returns
    Type Description
    TValue

    SetValue(ref TContainer, TValue)

    Sets the property value for the given container.

    Declaration
    void SetValue(ref TContainer container, TValue value)
    Parameters
    Type Name Description
    TContainer container
    TValue value
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX