Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Set(int, int)

Set x and y components of an existing Vector2Int.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void Set(int x, int y)

Parameters

A value for the x component.

A value for the y component.