Quaternion - KurbanismailovZaur/Extensions GitHub Wiki
On this page you can familiarize yourself with methods for extending the Quaternion structure.
With
Replaces the quaternion component.
var rotation = transform.rotation.WithW(0f);
On this page you can familiarize yourself with methods for extending the Quaternion structure.
WithReplaces the quaternion component.
var rotation = transform.rotation.WithW(0f);