private void ResetAxis(int index) { Undo.RecordObject(m_Target, "Undo Inspector"); m_Target.ResetAxis(index); EditorUtility.SetDirty(target); }