docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PrefabDebugName

    The name of ghost prefab. Used for debugging purpose to pretty print ghost names. Available only once the NETCODE_DEBUG define is set.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    public struct PrefabDebugName : IComponentData, IQueryTypeParameter

    Fields

    PrefabName

    The name of the prefab.

    Declaration
    public BlobStringText PrefabName
    Field Value
    Type Description
    BlobStringText

    Properties

    Name

    The name of the prefab.

    Declaration
    [Obsolete("The PrefabDebugName.Name field has been deprecated. Please use the PrefabName instead.", true)]
    public FixedString64Bytes Name { readonly get; set; }
    Property Value
    Type Description
    FixedString64Bytes

    Implements

    IComponentData
    IQueryTypeParameter
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)