public Vector2FieldUxmlTraits()
 {
     m_XValue = new UxmlFloatAttributeDescription {
         name = "x"
     };
     m_YValue = new UxmlFloatAttributeDescription {
         name = "y"
     };
 }
Ejemplo n.º 2
0
 public UxmlTraits()
 {
     m_Title = new UxmlStringAttributeDescription {
         name = "title"
     };
     m_Value = new UxmlFloatAttributeDescription {
         name = "value"
     };
 }
 public RectFieldUxmlTraits()
 {
     m_XValue = new UxmlFloatAttributeDescription {
         name = "x"
     };
     m_YValue = new UxmlFloatAttributeDescription {
         name = "y"
     };
     m_WValue = new UxmlFloatAttributeDescription {
         name = "w"
     };
     m_HValue = new UxmlFloatAttributeDescription {
         name = "h"
     };
 }
Ejemplo n.º 4
0
            public BoundsFieldUxmlTraits()
            {
                m_CenterXValue = new UxmlFloatAttributeDescription {
                    name = "cx"
                };
                m_CenterYValue = new UxmlFloatAttributeDescription {
                    name = "cy"
                };
                m_CenterZValue = new UxmlFloatAttributeDescription {
                    name = "cz"
                };

                m_ExtentsXValue = new UxmlFloatAttributeDescription {
                    name = "ex"
                };
                m_ExtentsYValue = new UxmlFloatAttributeDescription {
                    name = "ey"
                };
                m_ExtentsZValue = new UxmlFloatAttributeDescription {
                    name = "ez"
                };
            }
Ejemplo n.º 5
0
 public FloatFieldUxmlTraits()
 {
     m_Value = new UxmlFloatAttributeDescription {
         name = "value"
     };
 }