You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
transform.SetLocalPositionAndRotation(Vector3.zero, Quaternion.identity);// Or
transform.SetPositionAndRotation(Vector3.zero, Quaternion.identity);
Would be a great way to help notify users that these combined APIs exist, instead of making their code grow by introducing a local variable when it may not be necessary.
(Do note that SetLocalPositionAndRotation was introduced in 2021.3.11f1)
The text was updated successfully, but these errors were encountered:
The detection of:
And turning it into:
Would be a great way to help notify users that these combined APIs exist, instead of making their code grow by introducing a local variable when it may not be necessary.
(Do note that
SetLocalPositionAndRotation
was introduced in 2021.3.11f1)The text was updated successfully, but these errors were encountered: