Example #1
0
 public override void ReadFromString(ref string[] nodeParams)
 {
     base.ReadFromString(ref nodeParams);
     m_mode  = (eVectorFromMatrixMode)Enum.Parse(typeof(eVectorFromMatrixMode), GetCurrentParam(ref nodeParams));
     m_index = Convert.ToInt32(GetCurrentParam(ref nodeParams));
 }
Example #2
0
 public override void DrawProperties()
 {
     m_mode  = (eVectorFromMatrixMode)EditorGUILayoutEnumPopup(ModeStr, m_mode);
     m_index = EditorGUILayoutIntSlider(IndexStr, m_index, 0, m_maxIndex);
     base.DrawProperties();
 }