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)); }
public override void DrawProperties() { m_mode = (eVectorFromMatrixMode)EditorGUILayoutEnumPopup(ModeStr, m_mode); m_index = EditorGUILayoutIntSlider(IndexStr, m_index, 0, m_maxIndex); base.DrawProperties(); }