protected override Quaternion DrawElement(Rect rect, Quaternion value)
 {
     return(SirenixEditorFields.RotationField(rect.Padding(2), value, QuaternionDrawMode.Eulers));
 }
Ejemplo n.º 2
0
        /// <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);
        }