예제 #1
0
    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();

        BoardLayout board = (BoardLayout)target;

        EditorGUILayout.Separator();
        if (GUILayout.Button("Align Board"))
        {
            board.AlignBoard();
        }
    }