AddSat(long, long)
Atomically adds a value to this counter. The result will not be greater than a maximum value.
Read time 1 minuteLast updated 23 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public long AddSat(long value, long max = 9223372036854775807)
Parameters
Returns
Type | Description |
|---|---|
| long | The original value before the add. |