RandomState.Disposer
A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Shared IDisposable returned by RandomState.Push, so a using block restores the previous Unity random state when it ends.
- Listed in Global namespace: Q to R
- Nested in
RandomState - Inherits or implements
IDisposable
Constructors
| Member | What it is |
|---|---|
Disposer() | Creates a RandomState.Disposer with default values. |
Methods
1 private and internal method
| Member | What it is |
|---|---|
private void System.IDisposable.Dispose() | Calls RandomState.Pop, putting back the random state saved by the matching Push. |
Used in
Members of other types that take, return or hold a Disposer: