Пример #1
0
        public void Initialize(ChainProcessor _processor)
        {
            this._processor          = _processor;
            this._processor.Reprint -= Repaint;
            this._processor.Reprint += Repaint;
            this.wantsMouseMove      = true;

            GenerateEditorContextMenu();
            GenerateNodeContextMenu();
        }
 private void OnEnable()
 {
     _processor          = target as ChainProcessor;
     _processor.Reprint -= this.Repaint;
     _processor.Reprint += this.Repaint;
 }