public SelectorNodeDrawer(UtilityDoctorEditor window)
 {
     selectorSkin = Resources.Load("DoctorGUISkin") as GUISkin;
     nodeDrawer   = new NodeDrawer();
     this.window  = window;
     Signals.Get <QualifierPinsLoaded>().AddListener(OnQualifierPinsLoaded);
 }
        public UtilityDoctorRenderer(UtilityDoctorEditor window)
        {
            this.window        = window;
            selectorNodeDrawer = new SelectorNodeDrawer(window);
            actionNodeDrawer   = new ActionNodeDrawer(window);
            pinDrawer          = new ConnectionPinDrawer();
            connectionDrawer   = new ConnectionDrawer();

            Signals.Get <ConnectionPinClicked>().AddListener(OnClickPin);
        }
 public MainWindowSerializer(UtilityDoctorEditor window)
 {
     this.window = window;
     Signals.Get <SaveButtonPressed>().AddListener(Serialize);
     Signals.Get <LoadButtonPressed>().AddListener(Deserialize);
 }
Beispiel #4
0
 public SelectorNode(Selector selector, Vector2 position, Vector2 dimensions, UtilityDoctorEditor window)
     : base(position, dimensions)
 {
     this.selector = selector;
     Init();
 }
 public ConnectionPinFactory(UtilityDoctorEditor window)
 {
     this.window = window;
     Signals.Get <AddSelector>().AddListener(OnAddSelector);
     Signals.Get <AddAction>().AddListener(OnAddAction);
 }
 public ActionNodeDrawer(UtilityDoctorEditor window)
 {
     actionSkin  = Resources.Load("DoctorGUISkin") as GUISkin;
     nodeDrawer  = new NodeDrawer();
     this.window = window;
 }