Esempio n. 1
0
    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();
    }
Esempio n. 2
0
 static void PlanterInBound()
 {
     PlaceTools.Planter();
 }
Esempio n. 3
0
 static void PlaceInBound()
 {
     PlaceTools.InBound();
 }