docs.unity.cn
    Show / Hide Table of Contents

    Class AnalyticsUtils

    Set of utilities for analytics

    Inheritance
    Object
    AnalyticsUtils
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering
    Syntax
    public static class AnalyticsUtils

    Methods

    ToNestedColumn<T>(T, Boolean)

    Obtains the Serialized fields and values in form of nested columns for BigQuery https://cloud.google.com/bigquery/docs/nested-repeated

    Declaration
    public static string[] ToNestedColumn<T>(this T current, bool compareAndSimplifyWithDefault = false)
        where T : new()
    Parameters
    Type Name Description
    T current

    The current object to obtain the fields and values.

    Boolean compareAndSimplifyWithDefault

    If a comparison against the default value must be done.

    Returns
    Type Description
    String[]

    The nested columns in form of {key.nestedKey : value}

    Type Parameters
    Name Description
    T

    The given type

    Exceptions
    Type Condition
    ArgumentNullException

    ToNestedColumnWithDefault<T>(T, T, Boolean)

    Obtains the Serialized fields and values in form of nested columns for BigQuery https://cloud.google.com/bigquery/docs/nested-repeated

    Declaration
    public static string[] ToNestedColumnWithDefault<T>(this T current, T defaultObject, bool compareAndSimplifyWithDefault = false)
    Parameters
    Type Name Description
    T current

    The current object to obtain the fields and values.

    T defaultObject

    The default object

    Boolean compareAndSimplifyWithDefault

    If a comparison against the default value must be done.

    Returns
    Type Description
    String[]

    The nested columns in form of {key.nestedKey : value}

    Type Parameters
    Name Description
    T

    The given type

    Exceptions
    Type Condition
    ArgumentNullException
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 21 July 2023