public static SayReplyNodeDisplayer CreateDisplayerFor(SayReplyWireNode node)
        {
            SayReplyNodeDisplayer nodeRenderer = new SayReplyNodeDisplayer(node)
            {
                WindowRect = new Rect(node.DisplayerPosition.x, node.DisplayerPosition.y, 270, 100)
            };

            return(nodeRenderer);
        }
        public static SayReplyNodeDisplayer CreateSayReplyNodeDisplayer(Vector2 position)
        {
            SayReplyWireNode node = new SayReplyWireNode(DialogEditor.Instance.EditingDialog)
            {
                NodeName = "Say reply"
            };

            DialogEditor.InitializeNode(ref node);

            SayReplyNodeDisplayer nodeRenderer = new SayReplyNodeDisplayer(node)
            {
                WindowRect = new Rect(position.x, position.y, 270, 100)
            };

            return(nodeRenderer);
        }
 public static SayReplyNodeDisplayer CreateDisplayer(this SayReplyWireNode node)
 {
     return(SayReplyNodeDisplayer.CreateDisplayerFor(node));
 }