public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        MeshGenerator myScript = (MeshGenerator)target;

        if (GUILayout.Button("Save mesh to Data"))
        {
            myScript.SaveMeshToData();
        }
        if (GUILayout.Button("Clear Data"))
        {
            myScript.ClearData();
        }
    }