public override void OnInspectorGUI() { DrawDefaultInspector(); PlayerHeightOffset myScript = (PlayerHeightOffset)target; if (GUILayout.Button("Offset Player Height")) { myScript.OffsetPlayerHeight(); } if (GUILayout.Button("Save Player Infomation")) { myScript.SavePlayerInformation(); } }