docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ProfilerTick

    A tick in used for the Profiler

    Inheritance
    object
    ProfilerTick
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: MLAPI.Profiling
    Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
    Syntax
    public class ProfilerTick

    Fields

    EventId

    The id of the tick

    Declaration
    public int EventId
    Field Value
    Type Description
    int

    Events

    The events that occured during this tick

    Declaration
    public readonly List<TickEvent> Events
    Field Value
    Type Description
    List<TickEvent>

    Frame

    The frame the tick executed on

    Declaration
    public int Frame
    Field Value
    Type Description
    int

    Type

    The type of tick

    Declaration
    public TickType Type
    Field Value
    Type Description
    TickType

    Properties

    Bytes

    The amount of bytes that were sent and / or received during this tick

    Declaration
    public uint Bytes { get; }
    Property Value
    Type Description
    uint

    Methods

    FromStream(Stream)

    Creates a ProfilerTick from data in the provided stream

    Declaration
    public static ProfilerTick FromStream(Stream stream)
    Parameters
    Type Name Description
    Stream stream

    The stream containing the ProfilerTick data

    Returns
    Type Description
    ProfilerTick

    The ProfilerTick with data read from the stream

    SerializeToStream(Stream)

    Writes the current ProfilerTick to the stream

    Declaration
    public void SerializeToStream(Stream stream)
    Parameters
    Type Name Description
    Stream stream

    The stream containing

    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)