public override void OnInspectorGUI() { ItemComponent itemComponent = (ItemComponent)target; if (GUILayout.Button("Populate Rend Normal Array")) { itemComponent.PopulateRendNormalArray(); } base.OnInspectorGUI(); }