This version of Unity is unsupported.

Transform.SetPositionAndRotation

Switch to Manual

Declaration

public void SetPositionAndRotation(Vector3 position, Quaternion rotation);

Description

Sets the world space position and rotation of the Transform component.