Example #1
0
    public override void OnInspectorGUI()
    {
        PlantManager myObject = (PlantManager)target;

        DrawDefaultInspector();
        if (GUILayout.Button("Attribute Plant Indexes"))
        {
            myObject.InitializePlantInfoTab();
        }
    }