Skip to content

Class Lidgren::Network::NetTime

ClassList > Lidgren > Network > NetTime

Time service.

Public Static Properties

Type Name
property double Now
Get number of seconds since the application started.

Public Static Functions

Type Name
string ToReadable (double seconds)
Given seconds it will output a human friendly readable string (milliseconds if less than 60 seconds)

Public Static Properties Documentation

property Now

double Lidgren.Network.NetTime.Now;

Public Static Functions Documentation

function ToReadable

static inline string Lidgren::Network::NetTime::ToReadable (
    double seconds
) 

The documentation for this class was generated from the following file api/unity-plugin/Scripts/Networking/Lidgren.Network/NetTime.cs