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

        TopicDesigner topicDesigner = (TopicDesigner)target;

        if (GUILayout.Button("Save"))
        {
            topicDesigner.Save();
        }
        if (GUILayout.Button("Load"))
        {
            topicDesigner.Load();
        }
    }