기술 자료

Unity Engine

Unity Engine

Set(float, float)

Set x and y components of an existing Vector2.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void Set(float newX, float newY)

Parameters

newX

The x component to set.

newY

The y component to set.