{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class ReflectionHelpers | Cinemachine | 2.6.0
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Class ReflectionHelpers

    An ad-hoc collection of helpers for reflection, used by Cinemachine or its editor tools in various places

    Inheritance
    object
    ReflectionHelpers
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Cinemachine.Utility
    Assembly: solution.dll
    Syntax
    [DocumentationSorting(DocumentationSortingAttribute.Level.Undoc)]
    public static class ReflectionHelpers

    Methods

    Name Description
    AccessInternalField<T>(Type, object, string)

    Cheater extension to access internal field of an object

    CopyFields(object, object, BindingFlags)

    Copy the fields from one object to another

    GetFieldPath<TType, TValue>(Expression<Func<TType, TValue>>)

    Returns a string path from an expression - mostly used to retrieve serialized properties without hardcoding the field path. Safer, and allows for proper refactoring.

    GetParentObject(string, object)

    Get the object owner of a field. This method processes the '.' separator to get from the object that owns the compound field to the object that owns the leaf field

    GetTypeInAllDependentAssemblies(string)

    Get a type from a name

    GetTypesInAllDependentAssemblies(Predicate<Type>)

    Search all assemblies for all types that match a predicate

    GetTypesInAssembly(Assembly, Predicate<Type>)

    Search the assembly for all types that match a predicate

    概要
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)