public CDialogNode(CDialogueNodeEditor editor, NodeInfo info) : base(editor, info)
 {
     Init(new Vector2(info.rect.x, info.rect.y));
     text  = info.text;
     title = info.title;
 }
 public CDialogNode(CDialogueNodeEditor editor, Vector2 position) : base(editor, position)
 {
     Init(position);
 }
예제 #3
0
        //public Action<CNode> OnRemoveNode;


        public CNode(CDialogueNodeEditor editor, Vector2 position)
        {
            this.editor = editor;
        }
예제 #4
0
 public CNode(CDialogueNodeEditor editor, NodeInfo info)
 {
     this.editor = editor;
 }
예제 #5
0
    private static void OpenWindow()
    {
        CDialogueNodeEditor window = GetWindow <CDialogueNodeEditor>();

        window.titleContent = new GUIContent("Diaog Node Editor");
    }