コード例 #1
0
    public override void OnInspectorGUI()
    {
        EditorGUILayout.BeginVertical();

        if (GUILayout.Button("Generate Page Layout"))
        {
            if (pg.ps)
            {
                //pg.BuildPage();
                pg.BuildPagePrototype();
            }
            else
            {
                EditorGUILayout.LabelField(new GUIContent("The PlatforSystem for the PageGenerator is not Set" + pg.ps));
            }
        }

        EditorGUILayout.EndVertical();
    }