public override void OnInspectorGUI() { WallGenerator wallGenerator = target as WallGenerator; DrawDefaultInspector(); if (GUILayout.Button("Generate Wall")) { wallGenerator.GenerateWall(); } }