Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator ++(int2)

Returns the result of a componentwise increment operation on an int2 vector.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Operator
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule
public static int2 operator ++(int2 val)

Parameters

val

Value to use when computing the componentwise increment.

Returns

Type

Description

int2int2 result of the componentwise increment.