public override void OnInspectorGUI() { base.OnInspectorGUI(); BoardLayout board = (BoardLayout)target; EditorGUILayout.Separator(); if (GUILayout.Button("Align Board")) { board.AlignBoard(); } }
public override void OnInspectorGUI() { base.OnInspectorGUI(); BoardLayout board = (BoardLayout)target; EditorGUILayout.Separator(); if (GUILayout.Button("Align Board")) { board.AlignBoard(); } }