public void SetUp()
        {
            var go = new GameObject();

            m_Grid = go.AddComponent <Grid>();
            m_SceneViewGridManager     = SceneViewGridManager.instance;
            Selection.activeGameObject = go;
            Selection.selectionChanged();

            EditorSnapSettings.ResetSnapSettings();
        }
        public void TearDown()
        {
            Selection.activeGameObject = null;
            Selection.selectionChanged();

            if (m_Grid != null)
            {
                Object.DestroyImmediate(m_Grid.gameObject);
                m_Grid = null;
            }
            EditorSnapSettings.ResetSnapSettings();
        }