protected override void DrawNodeWindow(int id)
 {
     base.DrawNodeWindow(id);
     SelectTexture();
     if (texture != null)
     {
         if (GUI.Button(rectBotButton, "Edit", SWEditorUI.MainSkin.button))
         {
             SWWindowEffectUV.ShowEditor(this);
         }
     }
     DrawNodeWindowEnd();
 }
Example #2
0
 public override void Update()
 {
     Instance = this;
     base.Update();
 }