Skip to main content

PackingWatch

A static class in Root.Township, Alta.Customization.

Shared stopwatch that lets cosmetic packing yield a frame on Android once more than 2 ms have passed.

Fields​

1 private and internal field
MemberWhat it is
private static Stopwatch watchThe stopwatch.

Methods​

MemberWhat it is
static bool Measure()True when more than 2 ms have passed since the last restart.
static void Restart()Restarts the stopwatch.
static void Stop()Stops the stopwatch.