Search Results for

    Show / Hide Table of Contents

    Class SerializedStopwatch

    An obscure usage stopwatch meant to track times across domain-reload and serialization.

    Inheritance
    System.Object
    SerializedStopwatch
    Implements
    UnityEngine.ISerializationCallbackReceiver
    Namespace: GDX.Editor
    Syntax
    [Serializable]
    public class SerializedStopwatch : ISerializationCallbackReceiver

    Properties

    | Improve this Doc View Source

    ElapsedTicks

    Returns the total number of ticks elapsed since GetStartTick() was called.

    Declaration
    public double ElapsedTicks { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    SerializationSpan

    Declaration
    public double SerializationSpan { get; }
    Property Value
    Type Description
    System.Double

    Methods

    | Improve this Doc View Source

    GetStartTick()

    Get the starting point for the stopwatch.

    Declaration
    public double GetStartTick()
    Returns
    Type Description
    System.Double

    The System.DateTime.Now set by SetStartTick().

    | Improve this Doc View Source

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()
    | Improve this Doc View Source

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()
    | Improve this Doc View Source

    SetStartTick()

    Declaration
    public void SetStartTick()

    Implements

    UnityEngine.ISerializationCallbackReceiver
    • Improve this Doc
    • View Source
    In This Article
    Back to top Built on 2024-01-01 against 1f69a68.
    Generated by Dox+DocFX.