void PlacerGUI() { GUILayout.BeginHorizontal(); GUILayout.BeginVertical(GUI.skin.box); GUILayout.Label("Scatter", EditorStyles.boldLabel); if (GUILayout.Button(scatter, GUILayout.Height(35), GUILayout.Width(35))) { PlaceTools.InBound(); } GUILayout.EndVertical(); GUILayout.BeginVertical(GUI.skin.box); GUILayout.Label("Planter", EditorStyles.boldLabel); if (GUILayout.Button(planter, GUILayout.Height(35), GUILayout.Width(35))) { PlaceTools.Planter(); } GUILayout.EndVertical(); GUILayout.EndHorizontal(); }
static void PlanterInBound() { PlaceTools.Planter(); }
static void PlaceInBound() { PlaceTools.InBound(); }