Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Set(int, int, int)

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

Definition

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

Parameters

A value for the x component.

A value for the y component.

A value for the z component.