Ejemplo n.º 1
0
 public TransformationsManager(DialogEditor editor)
 {
     this.editor        = editor;
     State              = new DialogEditorState();
     State.PanOffset    = Vector2.zero;
     State.LookPosition = editor.position.center;
 }
Ejemplo n.º 2
0
        public static void CreateWindow()
        {
            if (Instance != null)
            {
                EditorUtility.DisplayDialog("Error", "You can have only one DialogEditor at a time.", "Ok");
            }
            DialogEditor editor = GetWindow <DialogEditor>(false, "Wired Dialog Editor");

            Instance = editor;
        }
Ejemplo n.º 3
0
 public WireGraphEditor(DialogEditor dialogEditor)
 {
     nodeDisplayers    = new List <WireNodeDisplayer>();
     this.dialogEditor = dialogEditor;
 }
Ejemplo n.º 4
0
 public DialogContextMenu(DialogEditor editor)
 {
     this.editor = editor;
 }
Ejemplo n.º 5
0
 public ConnectionMaker(DialogEditor editor)
 {
     this.editor = editor;
 }
Ejemplo n.º 6
0
 public ClickManager(DialogEditor dialogEditor)
 {
     this.dialogEditor = dialogEditor;
 }