docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator +

    operator +(NetworkTime, NetworkTime)

    Computes the sum of two times

    Declaration
    public static NetworkTime operator +(NetworkTime a, NetworkTime b)
    Parameters
    Type Name Description
    NetworkTime a

    First time

    NetworkTime b

    Second time

    Returns
    Type Description
    NetworkTime

    The sum of the two times passed in

    operator +(NetworkTime, double)

    Computes the time a number of seconds later

    Declaration
    public static NetworkTime operator +(NetworkTime a, double b)
    Parameters
    Type Name Description
    NetworkTime a

    The start time

    double b

    The number of seconds to add

    Returns
    Type Description
    NetworkTime

    The resulting time

    In This Article
    Back to top
    Copyright © 2024 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)