コード例 #1
0
    void OnGUI()
    {
        Rect rect = new Rect(stageSelectionGridWidth, 0, Screen.width - stageSelectionGridWidth, Screen.height);

        EditorGUILayout.BeginHorizontal();
        GUILayout.Space(210);
        GUILayout.Label(new GUIContent("Hit [r] to center the editor, hit [z] to zoom in on the nodes, click drag to move the canvas, Scrollwheel (or [shift] click drag) zoom in / out", ""), GUILayout.Width(800));
        EditorGUILayout.EndHorizontal();
        GUILayout.Space(-15);
        OODCCQQQCC.OCCCCCQQQD(rect);
        DoGUI();
        so_editor.OnGUI(rect);
    }