文档

Unity Engine

Unity Engine

Set(int, int)

Set x and y components of an existing Vector2Int.
阅读时间1 分钟最后更新于 1 个月前

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.