Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Sub(long)

Atomically subtracts a value from this counter.
Read time 1 minuteLast updated 22 days ago

Definition

public long Sub(long value)

Parameters

value

The value to subtract.

Returns

Type

Description

longThe original value before the subtract.