Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Sub(int)

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

Definition

public int Sub(int value)

Parameters

value

The value to subtract.

Returns

Type

Description

intThe original value before the subtract.