docs.unity3d.com
    Show / Hide Table of Contents

    Class UniversalDataSystem.EventPropertyArray

    An array of property values of the same type

    Inheritance
    Object
    UniversalDataSystem.PropertiesContainer
    UniversalDataSystem.EventPropertyArray
    Inherited Members
    UniversalDataSystem.PropertiesContainer.SetParent(UniversalDataSystem.EventPropertyArray)
    UniversalDataSystem.PropertiesContainer.SetParent(UniversalDataSystem.EventProperty)
    UniversalDataSystem.PropertiesContainer.ClearParent()
    Namespace: Unity.PSN.PS5.UDS
    Syntax
    public class EventPropertyArray : UniversalDataSystem.PropertiesContainer

    Constructors

    EventPropertyArray(UniversalDataSystem.PropertyType)

    Create a property array of a set type

    Declaration
    public EventPropertyArray(UniversalDataSystem.PropertyType arrayType)
    Parameters
    Type Name Description
    UniversalDataSystem.PropertyType arrayType

    Properties

    ArrayType

    The type of value

    Declaration
    public UniversalDataSystem.PropertyType ArrayType { get; }
    Property Value
    Type Description
    UniversalDataSystem.PropertyType

    Methods

    CopyValues<T>(T[])

    Append values from an Array to this properties array

    Declaration
    public void CopyValues<T>(T[] values)
    Parameters
    Type Name Description
    T[] values

    The array of values

    Type Parameters
    Name Description
    T

    The value type

    Reset()

    Reset the array

    Declaration
    public void Reset()

    Set<T>(T)

    Add a value to the array

    Declaration
    public void Set<T>(T value)
    Parameters
    Type Name Description
    T value

    The value to add

    Type Parameters
    Name Description
    T

    Value type

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 25 September 2020