public override void OnInspectorGUI() { DrawDefaultInspector(); GroundTile gt = (GroundTile)target; if (GUILayout.Button("Render")) { gt.render(); } //base.OnInspectorGUI(); }