19 lines
433 B
C#
19 lines
433 B
C#
using UnityEditor;
|
|
using XNodeEditor;
|
|
|
|
namespace Stary.Evo.StoryEditor.Editor
|
|
{
|
|
[CustomNodeEditor(typeof(BeginNode))]
|
|
public class BeginNodeEditor : NodeEditor
|
|
{
|
|
public override void OnBodyGUI()
|
|
{
|
|
serializedObject.Update();
|
|
|
|
EditorGUILayout.LabelField("剧本开始");
|
|
base.OnBodyGUI();
|
|
|
|
serializedObject.ApplyModifiedProperties();
|
|
}
|
|
}
|
|
} |