docs.unity3d.com
    Show / Hide Table of Contents

    Class GhostSnapshotValue

    Inheritance
    System.Object
    GhostSnapshotValue
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Unity.NetCode
    Syntax
    public abstract class GhostSnapshotValue

    Fields

    GameSpecificTypes

    Declaration
    public static List<GhostSnapshotValue> GameSpecificTypes
    Field Value
    Type Description
    System.Collections.Generic.List<GhostSnapshotValue>

    k_TemplateRootPath

    Declaration
    protected const string k_TemplateRootPath = "Packages/com.unity.netcode/Editor/CodeGenTemplates/SnapshotValue"
    Field Value
    Type Description
    System.String

    Properties

    SupportsQuantization

    Declaration
    public abstract bool SupportsQuantization { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    AddImports(HashSet<String>)

    Declaration
    public virtual void AddImports(HashSet<string> imports)
    Parameters
    Type Name Description
    System.Collections.Generic.HashSet<System.String> imports

    CanProcess(FieldInfo, String, String)

    Declaration
    public virtual bool CanProcess(FieldInfo field, string componentName, string fieldName)
    Parameters
    Type Name Description
    System.Reflection.FieldInfo field
    System.String componentName
    System.String fieldName
    Returns
    Type Description
    System.Boolean

    CanProcess(Type, String, String)

    Declaration
    public abstract bool CanProcess(Type type, string componentName, string fieldName)
    Parameters
    Type Name Description
    System.Type type
    System.String componentName
    System.String fieldName
    Returns
    Type Description
    System.Boolean

    GetTemplatePath(Int32)

    Declaration
    public abstract string GetTemplatePath(int quantization)
    Parameters
    Type Name Description
    System.Int32 quantization
    Returns
    Type Description
    System.String
    Back to top
    Copyright © 2025 Unity Technologies
    • 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 02 April 2025