示例#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();
    }
示例#2
0
 static void PlaceInBound()
 {
     PlaceTools.InBound();
 }