public override void OnInspectorGUI()
    {
        serializedObject.Update();

        CustomTerrain terrain = (CustomTerrain)target;

        showRandom = EditorGUILayout.Foldout(showRandom, "Random");
        if (showRandom)
        {
            EditorGUILayout.LabelField("", GUI.skin.horizontalSlider);
            GUILayout.Label("Set Heights Between Random Values", EditorStyles.boldLabel);
            EditorGUILayout.PropertyField(randomHeightRange);
            if (GUILayout.Button("Random Heights"))
            {
                terrain.RandomTerrain();
            }

            if (GUILayout.Button("Add Other Layer of Random Heights"))
            {
                terrain.AddOtherLayerRandomTerrain();
            }

            if (GUILayout.Button("Reset Heights"))
            {
                terrain.ResetTerrain();
            }
        }

        serializedObject.ApplyModifiedProperties();
    }