Class DontSerializeAttribute | Serialization | 1.2.0-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class DontSerializeAttribute

    Use this attribute to flag a field or property to be ignored during serialization. This class cannot be inherited.

    Inheritance
    Object
    Attribute
    DontSerializeAttribute
    Namespace: Unity.Serialization
    Syntax
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
    public sealed class DontSerializeAttribute : Attribute, _Attribute
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX