SubSat(int, int)
Atomically subtracts a value from this counter. The result will not be less than a minimum value.
Read time 1 minuteLast updated 22 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public int SubSat(int value, int min = -2147483648)
Parameters
Returns
Type | Description |
|---|---|
| int | The original value before the subtract. |