protected override void DrawNodeWindow(int id)
        {
            base.DrawNodeWindow(id);
            SelectTexture();

            float labelWidth = 60;

            GUI.Label(new Rect(rectBotButton.x, rectBotButton.y - rectBotButton.height, labelWidth, rectBotButton.height), "Port Num", SWEditorUI.Style_Get(SWCustomStyle.eTxtSmallLight));
            var portNum = EditorGUI.IntField(new Rect(rectBotButton.x + labelWidth, rectBotButton.y - rectBotButton.height, rectBotButton.width - labelWidth, rectBotButton.height), data.childPortNumber);

            portNum = Mathf.Clamp(portNum, 1, 5);
            data.childPortNumber = portNum;



            if (texture != null)
            {
                if (GUI.Button(rectBotButton, "Edit", SWEditorUI.MainSkin.button))
                {
                    SWWindowEffectMixer.ShowEditor(this);
                }
            }
            DrawNodeWindowEnd();
        }
 public override void Update()
 {
     Instance = this;
     base.Update();
 }