Version: 2022.3
언어: 한국어

Transform.GetPositionAndRotation

매뉴얼로 전환
public void GetPositionAndRotation (out Vector3 position, out Quaternion rotation);

설명

Gets the position and rotation of the Transform component in world space.

When getting both the position and rotation of a transform, calling this method is more efficient than querying to position and rotation individually.