Summary
Creates a new Animancer.SimpleTimer
with the specified `name`.
Syntax
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public SimpleTimer(string name, string format = "0.000")
You will need to call
Animancer.SimpleTimer.Start
to start the timer.
Or use the static
Animancer.SimpleTimer.Start(System.String,System.String)
.
Use
null
as the `format` to have
Animancer.SimpleTimer.Format(System.Int64)
return the ticks instead of seconds.
Attributes
Type |
Description |
MethodImplAttribute |
|
Parameters
Name |
Type |
Description |
name |
string |
|
format |
string |
|
Return Value