protected override Quaternion DrawElement(Rect rect, Quaternion value) { return(SirenixEditorFields.RotationField(rect.Padding(2), value, QuaternionDrawMode.Eulers)); }
/// <summary> /// Draws the property. /// </summary> protected override void DrawPropertyLayout(GUIContent label) { var entry = this.ValueEntry; entry.SmartValue = SirenixEditorFields.RotationField(label, entry.SmartValue, GeneralDrawerConfig.Instance.QuaternionDrawMode); }