/// <summary> /// Creates a new PhysicsTimer from a certain amount of time, starts it, and returns the current instance /// </summary> /// <param name="seconds">Time to start the watch at, in seconds</param> public new static PhysicsTimer StartNewFromTime(float seconds) { PhysicsTimer timer = new PhysicsTimer(seconds); timer.Start(); return(timer); }
/// <summary> /// Creates a new PhysicsTimer, starts it, and returns the current instance /// </summary> public new static PhysicsTimer StartNew() { PhysicsTimer timer = new PhysicsTimer(); timer.Start(); return(timer); }