docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IProperty<TContainer, TValue>

    Inherited Members
    IProperty.GetName()
    IProperty.IsReadOnly
    IProperty.IsContainer
    IProperty.Attributes
    Namespace: Unity.Properties
    Assembly: Unity.Properties.dll
    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
    In This Article
    Back to top
    Copyright © 2025 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)