기술 자료

Unity Engine

Unity Engine

GetVector(Vector2)

Get a local space vector given the vector vector in rigidBody global space.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 GetVector(Vector2 vector)

Parameters

vector

The global space vector to transform into a local space vector.

Returns

Type

Description

Vector2