docs.unity3d.com
    Show / Hide Table of Contents

    Interface ILoggableMirrorStruct<T>

    Interface that is used by Unity.Logging to understand how to convert a mirror structure into UnsafeText. Low-level way to describe 'ToString'-like behavior for any type for Unity.Logging to use.

    Inherited Members
    ILoggableMirrorStruct.AppendToUnsafeText(UnsafeText, FormatterStruct, LogMemoryManager, ArgumentInfo, Int32)
    Namespace: Unity.Logging
    Syntax
    public interface ILoggableMirrorStruct<T> : ILoggableMirrorStruct
    Type Parameters
    Name Description
    T

    The original type that this mirror structure is for

    Remarks

    This interface must be on a partial structure - then it means this partial structure is a mirror structure of type T.

    There are several requirements:

    - Multiple implementations of different ILoggableMirrorStruct on the same struct are not allowed.

    - First field of the structure must be MirrorStructHeader

    - Structure must have an implicit operator that converts from T.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023