Open vertxxyz opened 10 months ago
This (and many more) is already implemented by Microsoft's (UnityVS) Roslyn Analyzers: https://github.com/microsoft/Microsoft.Unity.Analyzers/blob/main/doc/UNT0022.md It's be great is those analyzers where shared between VS and Rider...
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)